Module: ActiveMerchant::Billing::Integrations::PayuIn::VERSION
- Extended by:
- Comparable
- Defined in:
- lib/active_merchant/payu_in/version.rb
Constant Summary collapse
Class Method Summary collapse
- .<=>(other) ⇒ Object
- .hash ⇒ Object
- .inspect ⇒ Object
- .major ⇒ Object
- .method_missing(meth, *args, &block) ⇒ Object
- .minor ⇒ Object
- .respond_to?(meth) ⇒ Boolean
- .tiny ⇒ Object
- .to_s ⇒ Object
Class Method Details
.<=>(other) ⇒ Object
27 28 29 30 |
# File 'lib/active_merchant/payu_in/version.rb', line 27 def self.<=>(other) other = other.split('.').map { |i| i.to_i } if other.respond_to? :split SIGNATURE <=> Array(other) end |
.hash ⇒ Object
23 24 25 |
# File 'lib/active_merchant/payu_in/version.rb', line 23 def self.hash STRING.hash end |
.inspect ⇒ Object
32 33 34 |
# File 'lib/active_merchant/payu_in/version.rb', line 32 def self.inspect STRING.inspect end |
.major ⇒ Object
18 |
# File 'lib/active_merchant/payu_in/version.rb', line 18 def self.major; MAJOR end |
.method_missing(meth, *args, &block) ⇒ Object
40 41 42 43 |
# File 'lib/active_merchant/payu_in/version.rb', line 40 def self.method_missing(meth, *args, &block) return super unless STRING.respond_to?(meth) STRING.send(meth, *args, &block) end |
.minor ⇒ Object
19 |
# File 'lib/active_merchant/payu_in/version.rb', line 19 def self.minor; MINOR end |
.respond_to?(meth) ⇒ Boolean
36 37 38 |
# File 'lib/active_merchant/payu_in/version.rb', line 36 def self.respond_to?(meth, *) meth.to_s !~ /^__|^to_str$/ and STRING.respond_to? meth unless super end |
.tiny ⇒ Object
20 |
# File 'lib/active_merchant/payu_in/version.rb', line 20 def self.tiny; TINY end |
.to_s ⇒ Object
21 |
# File 'lib/active_merchant/payu_in/version.rb', line 21 def self.to_s; STRING end |