Class: Phraseapp::Rest::Factory

Inherits:
Object
  • Object
show all
Defined in:
lib/phraseapp-rest/factory.rb

Class Method Summary collapse

Class Method Details

.apiObject



9
10
11
12
13
14
# File 'lib/phraseapp-rest/factory.rb', line 9

def self.api
  Phraseapp::Rest::Api.new(
    rest_client: RestClient,
    token: Phraseapp::Rest.configuration.token
  )
end