Class: Pntfr::BaseService
- Inherits:
-
Object
- Object
- Pntfr::BaseService
- Defined in:
- lib/pntfr/base_service.rb
Instance Method Summary collapse
-
#initialize(credentials) ⇒ BaseService
constructor
A new instance of BaseService.
Constructor Details
#initialize(credentials) ⇒ BaseService
Returns a new instance of BaseService.
3 4 5 6 |
# File 'lib/pntfr/base_service.rb', line 3 def initialize credentials validate_credentials(credentials) @credentials= credentials || {} end |