Sha256: 69be3328775c8f775afeb055be98994af7eaf3a625d2ac9dce9966fca96f4891

Contents?: true

Size: 249 Bytes

Versions: 5

Compression:

Stored size: 249 Bytes

Contents

module Moip2
  class KeysApi
    attr_reader :client

    def initialize(client)
      @client = client
    end

    def base_path
      "/v2/keys"
    end

    def show
      Resource::Keys.new(client, client.get(base_path.to_s))
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
moip2-1.3.1 lib/moip2/keys_api.rb
moip2-1.2.1 lib/moip2/keys_api.rb
moip2-1.2.0 lib/moip2/keys_api.rb
moip2-1.1.0 lib/moip2/keys_api.rb
moip2-1.0.0 lib/moip2/keys_api.rb