lib/portatext/command/api/did_settings.rb in portatext-1.2.0 vs lib/portatext/command/api/did_settings.rb in portatext-1.3.0
- old
+ new
@@ -1,9 +1,9 @@
module PortaText
module Command
module Api
- # The me/dids/:did endpoint.
+ # The dids/:did endpoint.
# https://github.com/PortaText/docs/wiki/REST-API#api_did_settings
#
# Author:: Marcelo Gornstein (mailto:marcelog@portatext.com)
# Copyright:: Copyright (c) 2015 PortaText
# License:: Apache-2.0
@@ -31,10 +31,10 @@
def endpoint(_method)
raise 'DID number cant be null' if @args[:id].nil?
id = @args[:id]
@args.delete :id
- "me/dids/#{id}"
+ "dids/#{id}"
end
end
end
end
end