Sha256: ca9f6bbd5a056483b63e4c7c0e8ff20fda0334fe7f02a00222545b8d123ccfc3
Contents?: true
Size: 704 Bytes
Versions: 1
Compression:
Stored size: 704 Bytes
Contents
module Base module Apis class Saving include HTTP include Apis attr_reader :client_secret def request # https://github.com/baseinc/api-docs/blob/master/base_api_v1_savings.md # # { start_created: '2016-01-01', # end_created: '2016-01-10', # limit: 20, # offset: 0 } request_parameters = block_given? ? yield : {} uri = URI([ API_HOST, "/#{API_VERSION}/savings?", URI.encode_www_form(request_parameters)].join) request = generate_request(uri, client_secret.header_parameter) start(request, uri) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
base-api-client-0.3.beta | lib/base/apis/saving.rb |