Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
support new lifetime subscription API
- Loading branch information
Showing
6 changed files
with
82 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
module RSpreedly | ||
class LifetimeComplimentarySubscription < Base | ||
attr_accessor :feature_level | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<errors> | ||
<error>Feature level can't be blank</error> | ||
</errors> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<subscriber> | ||
<active-until type="datetime" nil="true">2010-02-21T19:04:28Z</active-until> | ||
<billing-first-name nil="true"></billing-first-name> | ||
<billing-last-name nil="true"></billing-last-name> | ||
<created-at type="datetime">2009-10-28T22:27:38Z</created-at> | ||
<customer-id>42</customer-id> | ||
<eligible-for-free-trial type="boolean">true</eligible-for-free-trial> | ||
<email>new@email.com</email> | ||
<grace-until type="datetime">2013-05-02T00:07:37Z</grace-until> | ||
<lifetime-subscription type="boolean">true</lifetime-subscription> | ||
<ready-to-renew type="boolean">false</ready-to-renew> | ||
<screen-name>bob</screen-name> | ||
<store-credit type="decimal">0.0</store-credit> | ||
<store-credit-currency-code>USD</store-credit-currency-code> | ||
<token>81ba778a5849f461ebc0d77e78b9221af2210c6b</token> | ||
<updated-at type="datetime">2009-10-28T22:55:37Z</updated-at> | ||
<recurring type="boolean">false</recurring> | ||
<card-expires-before-next-auto-renew type="boolean">false</card-expires-before-next-auto-renew> | ||
<subscription-plan-name></subscription-plan-name> | ||
<active type="boolean">false</active> | ||
<in_grace_period type="boolean"></in_grace_period> | ||
<on-trial type="boolean">false</on-trial> | ||
<feature-level type="string">Something</feature-level> | ||
</subscriber> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters