Sha256: a7fea787030ed0c1a4957943d22b69936c75d34ea84e7bf5ea705d4a277ac8da

Contents?: true

Size: 1.34 KB

Versions: 1

Compression:

Stored size: 1.34 KB

Contents

require 'active_support/core_ext/module/delegation'
require 'active_support/core_ext/object/blank'
require 'active_support/inflector'
require 'faraday'
require 'json'
require 'pry'

require "nusii/version"

require 'nusii/api_operations/connection'
require 'nusii/api_operations/base'
require 'nusii/api_operations/show'
require 'nusii/api_operations/index'
require 'nusii/api_operations/nested_index'
require 'nusii/api_operations/create'
require 'nusii/api_operations/nested_create'
require 'nusii/api_operations/update'
require 'nusii/api_operations/delete'
require 'nusii/api_operations/send'

require 'nusii/crud/get'
require 'nusii/crud/list'
require 'nusii/crud/create'
require 'nusii/crud/save'
require 'nusii/crud/destroy'
require 'nusii/crud/destroy_self'

require 'nusii/utils/json_api_builder'

require 'nusii/nusii_error'
require 'nusii/request'
require 'nusii/response_object'
require 'nusii/resource'
require 'nusii/account'
require 'nusii/client'
require 'nusii/line_item'
require 'nusii/proposal'
require 'nusii/proposal_activity'
require 'nusii/section'
require 'nusii/webhook_endpoint'

module Nusii
  extend self

  class << self
    attr_accessor :api_key, :user_agent,
                  :rate_limit_remaining, :rate_limit_retry_after

    def setup params
      @api_key     = params[:api_key]
      @user_agent  = params[:user_agent]
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
nusii-0.1.1 lib/nusii.rb