Class: Flickr::SubCategory

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name, id, count) ⇒ SubCategory

Returns a new instance of SubCategory.



548
549
550
551
552
# File 'lib/flickr/base.rb', line 548

def initialize(name,id,count)
  @name = name
  @id = id
  @count = count
end

Instance Attribute Details

#countObject (readonly)

Returns the value of attribute count.



546
547
548
# File 'lib/flickr/base.rb', line 546

def count
  @count
end

#idObject (readonly)

Returns the value of attribute id.



546
547
548
# File 'lib/flickr/base.rb', line 546

def id
  @id
end

#nameObject (readonly)

Returns the value of attribute name.



546
547
548
# File 'lib/flickr/base.rb', line 546

def name
  @name
end