Sha256: 4798df0e353f71660f6ce37534648e16b02ec3b83aca4b18fe38ff4a0db3f1f0

Contents?: true

Size: 650 Bytes

Versions: 53

Compression:

Stored size: 650 Bytes

Contents

module CirroIO
  module Client
    class Configuration
      def app_id(value = nil)
        @app_id = value unless value.nil?
        raise 'app_id must be defined' unless defined?(@app_id)

        @app_id
      end

      def private_key_path(value = nil)
        @private_key_path = value unless value.nil?
        raise 'private_key_path must be defined' unless defined?(@private_key_path)

        @private_key_path
      end

      def site(value = nil)
        @site = value unless value.nil?
        raise 'site must be defined' unless defined?(@site)

        @site
      end

      def api_version
        'v1'
      end
    end
  end
end

Version data entries

53 entries across 53 versions & 1 rubygems

Version Path
cirro-ruby-client-2.7.1 lib/cirro_io/client/configuration.rb
cirro-ruby-client-2.7.0 lib/cirro_io/client/configuration.rb
cirro-ruby-client-2.6.7 lib/cirro_io/client/configuration.rb
cirro-ruby-client-2.6.6 lib/cirro_io/client/configuration.rb
cirro-ruby-client-2.6.5 lib/cirro_io/client/configuration.rb
cirro-ruby-client-2.6.4 lib/cirro_io/client/configuration.rb
cirro-ruby-client-2.6.3 lib/cirro_io/client/configuration.rb
cirro-ruby-client-2.6.2 lib/cirro_io/client/configuration.rb
cirro-ruby-client-2.6.1 lib/cirro_io/client/configuration.rb
cirro-ruby-client-2.6.0 lib/cirro_io/client/configuration.rb
cirro-ruby-client-2.5.17 lib/cirro_io/client/configuration.rb
cirro-ruby-client-2.5.16 lib/cirro_io/client/configuration.rb
cirro-ruby-client-2.5.15 lib/cirro_io/client/configuration.rb
cirro-ruby-client-2.5.14 lib/cirro_io/client/configuration.rb
cirro-ruby-client-2.5.13 lib/cirro_io/client/configuration.rb
cirro-ruby-client-2.5.12 lib/cirro_io/client/configuration.rb
cirro-ruby-client-2.5.11 lib/cirro_io/client/configuration.rb
cirro-ruby-client-2.5.10 lib/cirro_io/client/configuration.rb
cirro-ruby-client-2.5.9 lib/cirro_io/client/configuration.rb
cirro-ruby-client-2.5.8 lib/cirro_io/client/configuration.rb