Sha256: 9f91acdc68a7ed0b37a7ff0826eb8e526515401a3d71f848cb7ba91e0becb706

Contents?: true

Size: 633 Bytes

Versions: 1

Compression:

Stored size: 633 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 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

  end # Client
end # Nimbu

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
nimbu-api-0.0.1 lib/nimbu-api/client.rb