Sha256: 59276b23ffd59f721e243ee34ff4d1901dc8e0e263089b1cdb49672da3640371

Contents?: true

Size: 505 Bytes

Versions: 1

Compression:

Stored size: 505 Bytes

Contents

module Moip2
<<<<<<< HEAD
  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}")
    end
  end
end
=======
	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}")) 
		end
	end
end
>>>>>>> webhooks

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
moip2-0.1.3 lib/moip2/keys_api.rb