Sha256: cb20dc4699a871e8e3ad0a51a3ec1cde6587cc32e659768d84839c36f0fec392

Contents?: true

Size: 1.78 KB

Versions: 4

Compression:

Stored size: 1.78 KB

Contents

require "nimbu-api/version"

require 'openssl'
require 'excon'
require 'faraday'
require 'multi_json'

require "nimbu-api/utils/all"
require "nimbu-api/configuration"
require "nimbu-api/connection"
require 'nimbu-api/pagination'
require 'nimbu-api/response'
require 'nimbu-api/request'
require 'nimbu-api/authentication'
require 'nimbu-api/endpoint'
require 'nimbu-api/client'

require 'nimbu-api/endpoints/authorizations'
require 'nimbu-api/endpoints/login'
require 'nimbu-api/endpoints/simulator'
require 'nimbu-api/endpoints/sites'
require 'nimbu-api/endpoints/themes'
require 'nimbu-api/endpoints/themes/layouts'
require 'nimbu-api/endpoints/themes/templates'
require 'nimbu-api/endpoints/themes/snippets'
require 'nimbu-api/endpoints/themes/assets'
require 'nimbu-api/endpoints/activities'
require 'nimbu-api/endpoints/channels'
require 'nimbu-api/endpoints/channels/entries'
require 'nimbu-api/endpoints/products'
require 'nimbu-api/endpoints/customers'
require 'nimbu-api/endpoints/collections'
require 'nimbu-api/endpoints/coupons'
require 'nimbu-api/endpoints/videos'
require 'nimbu-api/endpoints/devices'
require 'nimbu-api/endpoints/webhooks'
require 'nimbu-api/endpoints/translations'
require 'nimbu-api/endpoints/orders'
require 'nimbu-api/endpoints/functions'
require 'nimbu-api/endpoints/jobs'
require 'nimbu-api/endpoints/roles'

module Nimbu
  extend Configuration

  class << self
    def new(options = {}, &block)
      Nimbu::Client.new(options, &block)
    end

    # Delegate to Nimbu::Client
    #
    def method_missing(method, *args, &block)
      return super unless new.respond_to?(method)
      new.send(method, *args, &block)
    end

    def respond_to?(method, include_private = false)
      new.respond_to?(method, include_private) || super(method, include_private)
    end

  end
end # Nimbu

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
nimbu-api-0.4.3 lib/nimbu-api.rb
nimbu-api-0.4.2 lib/nimbu-api.rb
nimbu-api-0.4.1 lib/nimbu-api.rb
nimbu-api-0.4.0 lib/nimbu-api.rb