Class: Upwork::Api::Routers::Jobs::Profile

Inherits:
Object
  • Object
show all
Defined in:
lib/upwork/api/routers/jobs/profile.rb

Overview

Freelancer’s profile info

Constant Summary collapse

ENTRY_POINT =
'api'

Instance Method Summary collapse

Constructor Details

#initialize(client) ⇒ Profile

Init

Arguments:

client: (Client)


26
27
28
29
# File 'lib/upwork/api/routers/jobs/profile.rb', line 26

def initialize(client)
  @client = client
  @client.epoint = ENTRY_POINT 
end

Instance Method Details

#get_specific(key) ⇒ Object

Get specific profile

Arguments:

key: (String)


35
36
37
38
# File 'lib/upwork/api/routers/jobs/profile.rb', line 35

def get_specific(key)
  $LOG.i "running " + __method__.to_s
  raise StandardError.new "The legacy API was deprecated. Please, use GraphQL call - see example in this library."
end