Class: Drip::Tags

Inherits:
Collection show all
Defined in:
lib/drip/collections/tags.rb

Instance Attribute Summary

Attributes inherited from Collection

#items, #raw_items

Class Method Summary collapse

Methods inherited from Collection

#each, #initialize, #item_class, #parse_items, #singular?

Constructor Details

This class inherits a constructor from Drip::Collection

Class Method Details

.collection_nameObject



7
8
9
# File 'lib/drip/collections/tags.rb', line 7

def self.collection_name
  "tags"
end

.resource_nameObject



11
12
13
# File 'lib/drip/collections/tags.rb', line 11

def self.resource_name
  "tag"
end