Class: Recurly::Resources::Settings

Inherits:
Recurly::Resource show all
Defined in:
lib/recurly/resources/settings.rb

Instance Attribute Summary collapse

Attributes inherited from Recurly::Resource

#attributes

Method Summary

Methods inherited from Recurly::Resource

#==, #get_response, #inspect, #requires_client?, #to_json, #to_s

Methods included from Schema::SchemaFactory

#schema

Methods included from Schema::ResourceCaster

#cast

Methods included from Schema::SchemaValidator

#get_did_you_mean, #validate!, #validate_attribute!

Instance Attribute Details

#accepted_currenciesArray[String]

Returns:

  • (Array[String])


11
# File 'lib/recurly/resources/settings.rb', line 11

define_attribute :accepted_currencies, Array, { :item_type => String }

#billing_address_requirementString

Returns - full: Full Address (Street, City, State, Postal Code and Country) - streetzip: Street and Postal Code only - zip: Postal Code only - none: No Address.

Returns:

  • (String)
    • full: Full Address (Street, City, State, Postal Code and Country) - streetzip: Street and Postal Code only - zip: Postal Code only - none: No Address



15
# File 'lib/recurly/resources/settings.rb', line 15

define_attribute :billing_address_requirement, String

#default_currencyString

Returns The default 3-letter ISO 4217 currency code.

Returns:

  • (String)

    The default 3-letter ISO 4217 currency code.



19
# File 'lib/recurly/resources/settings.rb', line 19

define_attribute :default_currency, String