2020-06-12 20:03:43 +00:00
|
|
|
# License: AGPL-3.0-or-later WITH WTO-AP-3.0-or-later
|
|
|
|
# Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE
|
2020-06-10 22:31:47 +00:00
|
|
|
class Houdini::Intl
|
|
|
|
include ActiveModel::AttributeAssignment
|
|
|
|
attr_accessor :currency, :available_locales, :language, :currencies, :all_currencies, :all_countries
|
|
|
|
|
|
|
|
def initialize(attributes={})
|
|
|
|
assign_attributes(attributes) if attributes
|
|
|
|
end
|
|
|
|
end
|