Sha256: 41e463eaa576af5dacfee25cae9748c1fd9e40537c4930916203f2129adcbce1
Contents?: true
Size: 1010 Bytes
Versions: 5
Compression:
Stored size: 1010 Bytes
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 authenticate(options={}, &block) Nimbu::Builder.new('Login', current_options.merge(options), &block).response end end # Client end # Nimbu
Version data entries
5 entries across 5 versions & 1 rubygems