Class: Contactually::Me
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
- #fetch ⇒ Object
-
#initialize(url: '/v2/me', interface: nil) ⇒ Me
constructor
A new instance of Me.
- #model ⇒ Object
- #update(body) ⇒ Object
Methods inherited from Base
#check_implementation, #create, #destroy, implement_list, implements, #list, #list_each
Constructor Details
#initialize(url: '/v2/me', interface: nil) ⇒ Me
Returns a new instance of Me.
5 6 7 8 |
# File 'lib/contactually/me.rb', line 5 def initialize(url: '/v2/me', interface: nil) @url = url @interface = interface end |
Instance Method Details
#fetch ⇒ Object
10 11 12 |
# File 'lib/contactually/me.rb', line 10 def fetch super(nil) end |
#update(body) ⇒ Object
14 15 16 |
# File 'lib/contactually/me.rb', line 14 def update(body) super(nil, body) end |