Module: Fountain::Papi
- Defined in:
- lib/fountain/papi.rb,
lib/fountain/papi/types.rb,
lib/fountain/papi/client.rb,
lib/fountain/papi/config.rb,
lib/fountain/papi/version.rb,
lib/fountain/papi/applicant/status.rb,
lib/fountain/papi/applicant/create_status.rb
Defined Under Namespace
Modules: Applicant, Types
Classes: Client, Config, Error
Constant Summary
collapse
- VERSION =
"1.1.0"
Class Method Summary
collapse
Class Method Details
.config ⇒ Object
28
29
30
|
# File 'lib/fountain/papi/config.rb', line 28
def self.config
@config ||= Config.new
end
|
.config=(configuration) ⇒ Object
32
33
34
|
# File 'lib/fountain/papi/config.rb', line 32
def self.config=(configuration)
@config = configuration
end
|
36
37
38
|
# File 'lib/fountain/papi/config.rb', line 36
def self.configure
yield config
end
|
.create_status(params) ⇒ Object
5
6
7
|
# File 'lib/fountain/papi/applicant/create_status.rb', line 5
def self.create_status(params)
Applicant::CreateStatus.new(params).call
end
|