Sha256: a36151fb14dceea915976ff3546317ff03bc2faf4a8506ad7dbf1b99ced9f81b
Contents?: true
Size: 646 Bytes
Versions: 48
Compression:
Stored size: 646 Bytes
Contents
module PortaText module Command module Api # The me/email_verify endpoint. # https://github.com/PortaText/docs/wiki/REST-API#api_email_verify # # Author:: Marcelo Gornstein (mailto:marcelog@portatext.com) # Copyright:: Copyright (c) 2015 PortaText # License:: Apache-2.0 class EmailVerify < Base def with_nonce(nonce) set :nonce, nonce end def endpoint(_method) return 'me/email_verify' if @args[:nonce].nil? nonce = @args[:nonce] @args.delete :nonce "me/email_verify/#{nonce}" end end end end end
Version data entries
48 entries across 48 versions & 1 rubygems