Sha256: da2894e32173203cc048304bc9000dd98c01abdded4304b162b16213b4a72f1a

Contents?: true

Size: 261 Bytes

Versions: 1

Compression:

Stored size: 261 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.to_s))
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
moip2-1.0.0 lib/moip2/webhooks_api.rb