Sha256: 22c06c43f28fe0324de30309c673895d8d71823be4d6d5a4c54e9b36abb3671e

Contents?: true

Size: 562 Bytes

Versions: 12

Compression:

Stored size: 562 Bytes

Contents

require_relative "../abstract"

class Balance < MoceanFactory
    def initialize client
        super(client)
        @required_fields = ['mocean-api-key','mocean-api-secret']
    end
    
    def setRespFormat param
        @params['mocean-resp-format'] = param
        return self
    end
    
    def inquiry params = {}
        create(params)
        createFinalParams
        isRequiredFieldsSet
        response = Transmitter.new('/rest/1/account/balance','get', @params)
        reset
        return response.getResponse()
    end
end

Version data entries

12 entries across 12 versions & 2 rubygems

Version Path
moceansdk-0.1.7 lib/moceansdk/modules/account/balance.rb
moceansdk-0.1.6 lib/moceansdk/modules/account/balance.rb
moceansdk-0.1.5 lib/moceansdk/modules/account/balance.rb
moceansdk-0.1.4 lib/moceansdk/modules/account/balance.rb
moceansdk-0.1.3 lib/moceansdk/modules/account/balance.rb
moceansdk-0.1.2 lib/moceansdk/modules/account/balance.rb
deno92-0.1.22 lib/deno92/modules/account/balance.rb
deno92-0.1.21 lib/deno92/modules/account/balance.rb
deno92-0.1.20 lib/deno92/modules/account/balance.rb
deno92-0.1.19 lib/deno92/modules/account/balance.rb
deno92-0.1.18 lib/deno92/modules/account/balance.rb
deno92-0.1.17 lib/deno92/modules/account/balance.rb