class PayPal::SDK::Core::API::DataTypes::SimpleTypes::String

Public Class Methods

new(string = "") click to toggle source
Calls superclass method
# File lib/paypal-sdk/core/api/data_types/simple_types.rb, line 9
def self.new(string = "")
  string.is_a?(::String) ? super : super(string.to_s)
end

Public Instance Methods

to_yaml_type() click to toggle source
# File lib/paypal-sdk/core/api/data_types/simple_types.rb, line 13
def to_yaml_type
  "!tag:yaml.org,2002:str"
end