Sha256: 17ee3feb6cb97a1892fb4ad73a34f5b6a8375b869eba6d09698f9f0ed4ea172f
Contents?: true
Size: 1.23 KB
Versions: 3
Compression:
Stored size: 1.23 KB
Contents
# encoding: utf-8 require 'nimbu-api/builder' module Nimbu class Client < Endpoint def oauth(options={}, &block) Nimbu::Builder.new('Authorizations', current_options.merge(options), &block) end alias :authorizations :oauth def sites(options={}, &block) Nimbu::Builder.new('Sites', current_options.merge(options), &block) end def themes(options={}, &block) Nimbu::Builder.new('Themes', current_options.merge(options), &block) end def channels(options={}, &block) Nimbu::Builder.new('Channels', current_options.merge(options), &block) end def videos(options={}, &block) Nimbu::Builder.new('Videos', current_options.merge(options), &block) end def simulator(options={}, &block) Nimbu::Builder.new('Simulator', current_options.merge(options), &block) end def products(options={}, &block) Nimbu::Builder.new('Products', current_options.merge(options), &block) end def collections(options={}, &block) Nimbu::Builder.new('Collections', current_options.merge(options), &block) end def authenticate(options={}, &block) Nimbu::Builder.new('Login', current_options.merge(options), &block).response end end # Client end # Nimbu
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
nimbu-api-0.2.beta.2 | lib/nimbu-api/client.rb |
nimbu-api-0.2.beta.1 | lib/nimbu-api/client.rb |
nimbu-api-0.2.beta | lib/nimbu-api/client.rb |