Class: Flickr::MethodArgument

Inherits:
Object
  • Object
show all
Defined in:
lib/flickr/reflection.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#descriptionObject (readonly)

Returns the value of attribute description.



39
40
41
# File 'lib/flickr/reflection.rb', line 39

def description
  @description
end

#nameObject (readonly)

Returns the value of attribute name.



39
40
41
# File 'lib/flickr/reflection.rb', line 39

def name
  @name
end

#optionalObject (readonly)

Returns the value of attribute optional.



39
40
41
# File 'lib/flickr/reflection.rb', line 39

def optional
  @optional
end