Sha256: 2c90797269717bcb1784daa4f313b2940ff686ad0f7735f53f094301641417ac
Contents?: true
Size: 354 Bytes
Versions: 1
Compression:
Stored size: 354 Bytes
Contents
module Moip2 class EntryApi attr_reader :client def initialize(client) @client = client end def base_path "/v2/entries" end def show(id) Resource::Entry.new client, client.get("#{base_path}/#{id}") end def find_all Resource::Entry.new client, client.get("#{base_path}") end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
moip2-1.3.1 | lib/moip2/entry_api.rb |