Module: NounProjectApi
- Defined in:
- lib/noun-project-api.rb,
lib/noun-project-api/icon.rb,
lib/noun-project-api/reporter.rb,
lib/noun-project-api/base_item.rb,
lib/noun-project-api/retriever.rb,
lib/noun-project-api/collection.rb,
lib/noun-project-api/connection.rb,
lib/noun-project-api/icon_retriever.rb,
lib/noun-project-api/icons_retriever.rb,
lib/noun-project-api/collection_retriever.rb
Overview
Top level name space for the entire Gem.
Defined Under Namespace
Modules: Connection Classes: BaseItem, Collection, CollectionRetriever, Configuration, Icon, IconRetriever, IconsRetriever, Reporter, Retriever
Constant Summary collapse
- API_BASE =
"http://api.thenounproject.com".freeze
Class Method Summary collapse
Class Method Details
.configuration ⇒ Object
15 16 17 |
# File 'lib/noun-project-api.rb', line 15 def self.configuration @configuration ||= Configuration.new end |
.configure {|configuration| ... } ⇒ Object
19 20 21 22 |
# File 'lib/noun-project-api.rb', line 19 def self.configure self.configuration ||= Configuration.new yield(configuration) if block_given? end |