lib/recurly/resources/account_acquisition.rb in recurly-3.0.0.beta.3 vs lib/recurly/resources/account_acquisition.rb in recurly-3.0.0.beta.4
- old
+ new
@@ -1,5 +1,9 @@
+# This file is automatically created by Recurly's OpenAPI generation process
+# and thus any edits you make by hand will be lost. If you wish to make a
+# change to this file, please create a Github issue explaining the changes you
+# need and we will usher them to the appropriate places.
module Recurly
module Resources
class AccountAcquisition < Resource
# @!attribute account
@@ -10,33 +14,33 @@
# @return [String] An arbitrary identifier for the marketing campaign that led to the acquisition of this account.
define_attribute :campaign, String
# @!attribute channel
# @return [String] The channel through which the account was acquired.
- define_attribute :channel, String, {:enum => ["referral", "social_media", "email", "paid_search", "organic_search", "direct_traffic", "marketing_content", "blog", "events", "outbound_sales", "advertising", "public_relations", "other"]}
+ define_attribute :channel, String, { :enum => ["referral", "social_media", "email", "paid_search", "organic_search", "direct_traffic", "marketing_content", "blog", "events", "outbound_sales", "advertising", "public_relations", "other"] }
# @!attribute cost
# @return [Hash] Account balance
define_attribute :cost, Hash
# @!attribute [r] created_at
# @return [DateTime] When the account acquisition data was created.
- define_attribute :created_at, DateTime, {:read_only => true}
+ define_attribute :created_at, DateTime, { :read_only => true }
# @!attribute [r] id
# @return [String]
- define_attribute :id, String, {:read_only => true}
+ define_attribute :id, String, { :read_only => true }
# @!attribute [r] object
# @return [String] Object type
- define_attribute :object, String, {:read_only => true}
+ define_attribute :object, String, { :read_only => true }
# @!attribute subchannel
# @return [String] An arbitrary subchannel string representing a distinction/subcategory within a broader channel.
define_attribute :subchannel, String
# @!attribute [r] updated_at
# @return [DateTime] When the account acquisition data was last changed.
- define_attribute :updated_at, DateTime, {:read_only => true}
+ define_attribute :updated_at, DateTime, { :read_only => true }
end
end
end