Property objects provide an interface for configuration options
Returns the value of attribute default.
Returns the value of attribute name.
Returns the value of attribute required.
A new instance of Property.
141516171819 | # File 'lib/github_api/api/config/property.rb', line 14definitialize(name,)@name=name@default=.fetch(:default,nil)@required=.fetch(:required,nil)=end |
Returns the value of attribute default.
111213 | # File 'lib/github_api/api/config/property.rb', line 11defdefault@defaultend |
Returns the value of attribute name.
101112 | # File 'lib/github_api/api/config/property.rb', line 10defname@nameend |
Returns the value of attribute required.
121314 | # File 'lib/github_api/api/config/property.rb', line 12defrequired@requiredend |
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
22232425 | # File 'lib/github_api/api/config/property.rb', line 22defdefine_accessor_methods(properties)properties.define_reader_method(self,self.name,:public)properties.define_writer_method(self,"#{self.name}=",:public)end |