Module: Truepill

Defined in:
lib/truepill.rb,
lib/truepill/request.rb,
lib/truepill/version.rb,
lib/truepill/response.rb,
lib/truepill/configuration.rb,
lib/truepill/restful_resource.rb,
lib/truepill/resources/patient.rb,
lib/truepill/resources/insurance.rb,
lib/truepill/resources/fill_request.rb,
lib/truepill/resources/prescription.rb,
lib/truepill/resources/copay_request.rb,
lib/truepill/resources/insurance_claim.rb,
lib/truepill/resources/coverage_request.rb,
lib/truepill/resources/prior_authorization.rb

Defined Under Namespace

Modules: Resources Classes: AccessTokenNotPresentError, AuthError, Configuration, InvalidApiUrlError, Request, Response, RestfulResource

Constant Summary collapse

VERSION =
"0.0.8"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject

Returns the value of attribute configuration.



20
21
22
# File 'lib/truepill.rb', line 20

def configuration
  @configuration
end

Class Method Details

.configure {|configuration| ... } ⇒ Object

Yields:



23
24
25
26
# File 'lib/truepill.rb', line 23

def self.configure
  self.configuration ||= Configuration.new
  yield(configuration)
end