Sha256: e050a8ffae69cd902e830d7ccd02920400f96c97e2d4b29bf12ea5987cb2395b
Contents?: true
Size: 350 Bytes
Versions: 3
Compression:
Stored size: 350 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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
moip2-1.2.1 | lib/moip2/entry_api.rb |
moip2-1.2.0 | lib/moip2/entry_api.rb |
moip2-1.1.0 | lib/moip2/entry_api.rb |