Sha256: 0eda98aa3bba56d8484596ea1aed209fc0dd2951f8d63d96d569ee47018cd990

Contents?: true

Size: 720 Bytes

Versions: 1

Compression:

Stored size: 720 Bytes

Contents

module PAS
  require 'active_resource'
  require 'active_support'
  require 'openssl'
  require 'base64'

  autoload :Connection,     'pas/connection'
  autoload :Resource,       'pas/resource'
  autoload :Session,        'pas/session'
  autoload :Member,         'pas/member'
  autoload :MemberTracker,  'pas/member_tracker'
  
  class << self
    
    def config
      @config ||= {
        :api_access_key => "",
        :api_token      => "",
        :domain_name    => "https://publisher.pokeraffiliatesolutions.com/"
      }
    end
    
  end
  
  class Error < RuntimeError; end
  class DisabledMethodError < PAS::Error
    def initialize
      super "This method is disabled for this Resource"
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pas-0.0.2 lib/pas.rb