Sha256: 1fc7da9f315c12721b4b7165c5f8369c3b5d098985e1b7e4fb65b8918a6e1a75
Contents?: true
Size: 437 Bytes
Versions: 12
Compression:
Stored size: 437 Bytes
Contents
# frozen_string_literal: true module Nylas # NOTE: BaseResource is the base class for all Nylas API resources. # Used by all Nylas API resources class Resource # Initializes a resource. def initialize(sdk_instance) @api_key = sdk_instance.api_key @api_uri = sdk_instance.api_uri @timeout = sdk_instance.timeout end private attr_reader :resource_name, :api_key, :api_uri, :timeout end end
Version data entries
12 entries across 12 versions & 1 rubygems