class PortaText::Command::Api::EmailVerify
The me/email_verify endpoint. github.com/PortaText/docs/wiki/REST-API#api_email_verify
- Author
-
Marcelo Gornstein (marcelog@portatext.com)
- Copyright
-
Copyright © 2015
PortaText
- License
-
Apache-2.0
Public Instance Methods
endpoint(_method)
click to toggle source
# File lib/portatext/command/api/email_verify.rb, line 15 def endpoint(_method) return 'me/email_verify' if @args[:nonce].nil? nonce = @args[:nonce] @args.delete :nonce "me/email_verify/#{nonce}" end
with_nonce(nonce)
click to toggle source
# File lib/portatext/command/api/email_verify.rb, line 11 def with_nonce(nonce) set :nonce, nonce end