Sha256: 9bb6fb0cd923b705f83e18e99403047c2a0d39cd774939462cc9067d93fabf0c

Contents?: true

Size: 404 Bytes

Versions: 2

Compression:

Stored size: 404 Bytes

Contents

module Ably
  VERSION = '1.1.0'
  PROTOCOL_VERSION = '1.1'

  # Allow a variant to be configured for all instances of this client library
  # such as ruby-rest-[VERSION]

  # @api private
  def self.lib_variant=(variant)
    @lib_variant = variant
  end

  def self.lib_variant
    @lib_variant
  end

  # @api private
  def self.major_minor_version_numeric
    VERSION.gsub(/\.\d+$/, '').to_f
  end
end

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
ably-rest-1.1.0 lib/submodules/ably-ruby/lib/ably/version.rb
ably-1.1.0 lib/ably/version.rb