Sha256: f1ad0fa60740c867de8a60ece8b9fb334762dccfd62badf642446baca3f2a015

Contents?: true

Size: 472 Bytes

Versions: 8

Compression:

Stored size: 472 Bytes

Contents

module GeoCerts
  module Endpoints # :nodoc:
    
    module Resellers # :nodoc:
      
      def self.included(base)
        base.class_eval do
          endpoint GeoCerts::API::ENDPOINT do
            
            action :balance, :url => '/reseller/balance', :method => :get do
              parser Parsers::OrderParser do
                element :balance
              end
            end
            
          end
        end
      end
      
    end
    
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
geocerts-1.0.1 lib/geo_certs/endpoints/resellers.rb
geocerts-1.0.0 lib/geo_certs/endpoints/resellers.rb
geocerts-0.0.25 lib/geo_certs/endpoints/resellers.rb
geocerts-0.0.24 lib/geo_certs/endpoints/resellers.rb
geocerts-0.0.23 lib/geo_certs/endpoints/resellers.rb
geocerts-0.0.22 lib/geo_certs/endpoints/resellers.rb
geocerts-0.0.21 lib/geo_certs/endpoints/resellers.rb
geocerts-0.0.20 lib/geo_certs/endpoints/resellers.rb