Class: PayPal::SDK::Core::API::DataTypes::SimpleTypes::Integer

Inherits:
Integer
  • Object
show all
Defined in:
lib/paypal-sdk/core/api/data_types/simple_types.rb

Class Method Summary collapse

Class Method Details

.new(number) ⇒ Object


19
20
21
# File 'lib/paypal-sdk/core/api/data_types/simple_types.rb', line 19

def self.new(number)
  number.to_i
end