Sha256: a4d71e91b2d74794aa6342b9c48ea60d3ae90132db45a966c7a4e35cc45c1e97
Contents?: true
Size: 821 Bytes
Versions: 41
Compression:
Stored size: 821 Bytes
Contents
module PortaText module Command module Api # The me endpoint. # https://github.com/PortaText/docs/wiki/REST-API#api_me # # Author:: Marcelo Gornstein (mailto:marcelog@portatext.com) # Copyright:: Copyright (c) 2015 PortaText # License:: Apache-2.0 class Me < Base def name(first, last) set :first_name, first set :last_name, last end def company(company) set :company, company end def email(email) set :email, email end def callback_url(callback_url) set :callback_url, callback_url end def timezone(timezone) set :timezone, timezone end def endpoint(_method) 'me' end end end end end
Version data entries
41 entries across 41 versions & 1 rubygems