Sha256: 506a40ebc000525db40ce63418dc34eafcd3dcd2427dbf76454adfd91d415fe1
Contents?: true
Size: 319 Bytes
Versions: 2
Compression:
Stored size: 319 Bytes
Contents
module Contactually class Me < Base implements :fetch, :update def initialize(url: '/v2/me', interface: nil) @url = url @interface = interface end def fetch super(nil) end def update(body) super(nil, body) end def model Models::User end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
contactually-rb-0.1.3 | lib/contactually/me.rb |
contactually-rb-0.1.2 | lib/contactually/me.rb |