Sha256: bd0e43fa55ece288fb9165b94fe69aae91ddb0ed25430fc02e382450103d0391

Contents?: true

Size: 512 Bytes

Versions: 1

Compression:

Stored size: 512 Bytes

Contents

module Bling
  module API
    # This module encapsulates all API groups
    # and creates an instance for it. You can make a direct
    # call like Bling::API::Product.new.list but it`s best and
    # less verbose to use this module ex: Bling::API.product.list
    #
    # To see all methods available to each instance, please look
    # in each respectively class

    extend self

    def product
      Product.new
    end

    def user
      User.new
    end

    def order
      Order.new
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bling-ruby-api-0.0.1 lib/bling/api.rb