lib/moip2/keys_api.rb in moip2-0.1.0 vs lib/moip2/keys_api.rb in moip2-0.1.1

- old
+ new

@@ -1,17 +1,17 @@ module Moip2 - class KeysApi - attr_reader :client - - def initialize(client) - @client = client - end + class KeysApi + attr_reader :client + + def initialize(client) + @client = client + end - def base_path - "/v2/keys" - end + def base_path + "/v2/keys" + end - def show - Resource::Keys.new client, client.get("#{base_path}") - end - end -end \ No newline at end of file + def show + Resource::Keys.new client, client.get("#{base_path}") + end + end +end