Sha256: b258452ba774c11be32b035cb4935dadd60206bed26d59fed58216fdb006572f
Contents?: true
Size: 248 Bytes
Versions: 1
Compression:
Stored size: 248 Bytes
Contents
# frozen_string_literal: true module NovaposhtaApi class Resource attr_reader :http def initialize(http: nil) @http = http end def request(*args) response = http.post(*args) response['data'] end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
novaposhta_api-0.1.8 | lib/novaposhta_api/resource.rb |