Sha256: c47eb51c464a5ca42719ba967acce4b6730365471f7332a5bd5d83ebafa92be1

Contents?: true

Size: 996 Bytes

Versions: 4

Compression:

Stored size: 996 Bytes

Contents

module KitabooService
  VERSION: String

  class ApiClient
    @kitaboo_client_id: String
    @kitaboo_client_secret: String
    @kitaboo_production_token: String
    @kitaboo_routes: KitabooRoutes
    @is_kitaboo_production: (bool | nil)
    @kitaboo_auth_token: String
  end

  class Configuration
    @base_url: String
    @client_id: String
    @client_secret: String
    @is_kitaboo_production: bool
    @kitaboo_production_token: String

    attr_reader base_url: String
    attr_reader client_id: String
    attr_reader client_secret: String
    attr_reader is_kitaboo_production: bool
    attr_reader kitaboo_production_token: String

    def set_configuration: -> nil
  end

  def create_order: -> KitabooResponse

  def is_production_environment: -> bool

  def remove_kitaboo_user_by_email: -> KitabooResponse

  def remove_order: -> KitabooResponse

  private

  def authenticate_production_environment: -> KitabooResponse

  def authenticate_test_environment: -> KitabooResponse
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
kitaboo_service-0.4.0 sig/api_client.rbs
kitaboo_service-0.3.0 sig/api_client.rbs
kitaboo_service-0.2.0 sig/api_client.rbs
kitaboo_service-0.1.0 sig/api_client.rbs