Sha256: abb51237464d3823a78560c3ace896b6ed7d16603d4834f684ab0ddde50d873d
Contents?: true
Size: 1.71 KB
Versions: 1
Compression:
Stored size: 1.71 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 customers(options={}, &block) Nimbu::Builder.new('Customers', current_options.merge(options), &block) end def collections(options={}, &block) Nimbu::Builder.new('Collections', current_options.merge(options), &block) end def devices(options={}, &block) Nimbu::Builder.new('Devices', current_options.merge(options), &block) end def coupons(options={}, &block) Nimbu::Builder.new('Coupons', current_options.merge(options), &block) end def authenticate(options={}, &block) Nimbu::Builder.new('Login', current_options.merge(options), &block).response end def users(options={}, &block) Nimbu::Builder.new('Users', current_options.merge(options), &block) end end # Client end # Nimbu
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
nimbu-api-0.4.4 | lib/nimbu-api/client.rb |