Sha256: f89b89fb4cbb837deda86633ac3cee6b2d23965f34d6c0f7dba3261f31889bc8
Contents?: true
Size: 241 Bytes
Versions: 2
Compression:
Stored size: 241 Bytes
Contents
module Moip2 class WebhooksApi attr_reader :client def initialize(client) @client = client end def base_path "/v2/webhooks" end def show Resource::Webhooks.new(client, client.get("#{base_path}")) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
moip2-0.1.4 | lib/moip2/webhooks_api.rb |
moip2-0.1.3 | lib/moip2/webhooks_api.rb |