Class: Flickr::MethodArgument
- Inherits:
-
Object
- Object
- Flickr::MethodArgument
- Defined in:
- lib/flickr/reflection.rb
Instance Attribute Summary collapse
-
#description ⇒ Object
readonly
Returns the value of attribute description.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#optional ⇒ Object
readonly
Returns the value of attribute optional.
Instance Method Summary collapse
-
#initialize(name, optional, description) ⇒ MethodArgument
constructor
A new instance of MethodArgument.
Constructor Details
#initialize(name, optional, description) ⇒ MethodArgument
Returns a new instance of MethodArgument.
41 42 43 44 45 |
# File 'lib/flickr/reflection.rb', line 41 def initialize(name,optional,description) @name = name @optional = optional @description = description end |
Instance Attribute Details
#description ⇒ Object (readonly)
Returns the value of attribute description.
39 40 41 |
# File 'lib/flickr/reflection.rb', line 39 def description @description end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
39 40 41 |
# File 'lib/flickr/reflection.rb', line 39 def name @name end |
#optional ⇒ Object (readonly)
Returns the value of attribute optional.
39 40 41 |
# File 'lib/flickr/reflection.rb', line 39 def optional @optional end |