Class: FIS::Client::User

Inherits:
Object
  • Object
show all
Defined in:
lib/fis/client/user.rb

Instance Method Summary collapse

Constructor Details

#initialize(base:) ⇒ User

Returns a new instance of User.



6
7
8
# File 'lib/fis/client/user.rb', line 6

def initialize(base:)
  @base = base
end

Instance Method Details

#meObject



10
11
12
# File 'lib/fis/client/user.rb', line 10

def me
  @base.client.get('users/me').body
end