Class: Starling::Services::BaseService

Inherits:
Object
  • Object
show all
Defined in:
lib/starling/services/base_service.rb

Overview

A basic implementation of a service for interacting with the Starling Bank API, mapping HTTP request to endpoints to Ruby methods

Instance Method Summary collapse

Constructor Details

#initialize(api_service) ⇒ BaseService

Returns a new instance of BaseService.

Parameters:


9
10
11
# File 'lib/starling/services/base_service.rb', line 9

def initialize(api_service)
  @api_service = api_service
end