Class: Flickr::Method

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name, authenticated, description, response, explanation) ⇒ Method

Returns a new instance of Method.



7
8
9
10
11
12
13
14
15
# File 'lib/flickr/reflection.rb', line 7

def initialize(name,authenticated,description,response,explanation)
	@name = name
	@authenticated = authenticated
	@description = description
	@response = response
	@explanation = explanation
	@arguments = []
	@errors = []
end

Instance Attribute Details

#argumentsObject (readonly)

Returns the value of attribute arguments.



4
5
6
# File 'lib/flickr/reflection.rb', line 4

def arguments
  @arguments
end

#authenticatedObject (readonly)

Returns the value of attribute authenticated.



4
5
6
# File 'lib/flickr/reflection.rb', line 4

def authenticated
  @authenticated
end

#descriptionObject (readonly)

Returns the value of attribute description.



4
5
6
# File 'lib/flickr/reflection.rb', line 4

def description
  @description
end

#errorsObject (readonly)

Returns the value of attribute errors.



4
5
6
# File 'lib/flickr/reflection.rb', line 4

def errors
  @errors
end

#explanationObject (readonly)

Returns the value of attribute explanation.



4
5
6
# File 'lib/flickr/reflection.rb', line 4

def explanation
  @explanation
end

#nameObject (readonly)

Returns the value of attribute name.



4
5
6
# File 'lib/flickr/reflection.rb', line 4

def name
  @name
end

#responseObject (readonly)

Returns the value of attribute response.



4
5
6
# File 'lib/flickr/reflection.rb', line 4

def response
  @response
end