ifeelgoods 0.0.1 → 0.0.2.beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bf7c17becb1a3e9ce87618976d81669828e2bb2cbe0eefd09ebfacf091da4e52
4
- data.tar.gz: 10a653a3ad91245f88084ef75db810d01d1170b2b4ef6d1b4d5f06de57264d6c
3
+ metadata.gz: c58dfc6f728a8a969001330211a79a9a187c0f1a019e669efd21d6c1e6f859f7
4
+ data.tar.gz: e1cdb00e60ea099ebaf67a4acd906265470001a0fb7eeb1cb63b70208bb1895d
5
5
  SHA512:
6
- metadata.gz: df76494d42d616a4c614794bd7bd3031709dce119ccdc1bb6ed6bda63d091d33a8b816501fa80e8921adbf692438033a0ff02c4efe8bfd4eea74e24c827d3946
7
- data.tar.gz: ea3ec73481d398d5fe7c4ba7da01fd8930432b0e8edad8a7f2f653c25eaf505ac6e7dc89cd4a542f0225c86d8e651160e82ab32e313e8818bdcbdd39e698c564
6
+ metadata.gz: ecc79ec1dcbc0379f8280c91d4b40899d8d76b27524c7bfeef80d09c748a5de2fe9f07cc8fbfa99fbaf8bdb65d7835696c9bd484449241d9d921843c26545150
7
+ data.tar.gz: 95331f945c7de3138cdbd33b8ef1db2482e8a1b22c20f1984297503b72674fc6496258032c9d6e70a427bc9a2089ae19122d131bb3f0bc6146f491c5b32ae5ab
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ifeelgoods (0.0.1)
4
+ ifeelgoods (0.0.2.beta.1)
5
5
  typhoeus (~> 1.0, >= 1.0.1)
6
6
 
7
7
  GEM
data/README.md CHANGED
@@ -1,167 +1,212 @@
1
1
  # ifeelgoods
2
2
 
3
- Official Ruby SDK for IFeelGoods Fulfillment API
3
+ Ifeelgoods - the Ruby gem for the Fulfillment API
4
4
 
5
- **Package name:** `ifeelgoods`
6
- **Module namespace:** `Ifeelgoods::`
5
+ Public API exposed to ifeelgoods customers.
7
6
 
8
- ## Authentication
7
+ This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
9
8
 
10
- The Fulfillment API supports two authentication methods:
9
+ - API version: v2
10
+ - Package version: 0.0.2.beta.1
11
+ - Generator version: 7.24.0
12
+ - Build package: org.openapitools.codegen.languages.RubyClientCodegen
11
13
 
12
- ### Option 1: API Key + API Secret (Simple, Direct)
13
- Use this for simple scripts or when you prefer direct authentication:
14
+ ## Installation
14
15
 
15
- ```ruby
16
- require 'ifeelgoods'
17
-
18
- # Configure the SDK globally
19
- Ifeelgoods.configure do |config|
20
- config.scheme = 'https' # http for testing only [not recommended for production]
21
- config.host = 'api.ifeelgoods.com'
22
- # Sandbox: config.host = 'api-sandbox.ifeelgoods.com'
23
- config.api_key['Api-Key'] = 'YOUR_API_KEY'
24
- config.api_key['Api-Secret'] = 'YOUR_API_SECRET'
25
- config.debugging = ENV['IFEELGOODS_DEBUG'] == 'true' # Optional: Enable debugging
26
- end
16
+ ### Build a gem
27
17
 
28
- # All API instances use the configured settings
29
- accounts_api = Ifeelgoods::AccountsApi.new
30
- result = accounts_api.get_current_account
18
+ To build the Ruby code into a gem:
31
19
 
32
- puts result.inspect
20
+ ```shell
21
+ gem build ifeelgoods.gemspec
33
22
  ```
34
23
 
35
- ### Option 2: Bearer Token (Recommended for Production)
36
-
37
- Use OAuth2 to exchange API Key + Secret for a bearer token, then cache it to avoid repeated token requests.
24
+ Then either install the gem locally:
38
25
 
39
- **Environment Setup:**
40
- ```bash
41
- # Set your API credentials
42
- export IFEELGOODS_API_KEY='your-api-key'
43
- export IFEELGOODS_API_SECRET='your-api-secret'
44
-
45
- # Set OAuth endpoint (defaults to production)
46
- export IFEELGOODS_OAUTH_URL='https://oauth.ifeelgoods.com'
47
- # Or for sandbox:
48
- # export IFEELGOODS_OAUTH_URL='https://oauth-sandbox.ifeelgoods.com'
26
+ ```shell
27
+ gem install ./ifeelgoods-0.0.2.beta.1.gem
49
28
  ```
50
29
 
51
- ```ruby
52
- require 'ifeelgoods'
53
- require 'net/http'
54
- require 'json'
55
-
56
- class OAuthTokenManager
57
- # Default to production OAuth endpoint. Override with IFEELGOODS_OAUTH_URL environment variable.
58
- # Production: https://oauth.ifeelgoods.com
59
- # Sandbox: https://oauth-sandbox.ifeelgoods.com
60
- DEFAULT_OAUTH_URL = 'https://oauth.ifeelgoods.com'
61
-
62
- def initialize(api_key = nil, api_secret = nil, oauth_url = nil)
63
- @api_key = api_key || ENV['IFEELGOODS_API_KEY']
64
- @api_secret = api_secret || ENV['IFEELGOODS_API_SECRET']
65
- @oauth_url = oauth_url || ENV['IFEELGOODS_OAUTH_URL'] || DEFAULT_OAUTH_URL
66
-
67
- raise 'IFEELGOODS_API_KEY environment variable not set' if @api_key.nil?
68
- raise 'IFEELGOODS_API_SECRET environment variable not set' if @api_secret.nil?
69
- @token = nil
70
- @token_expires_at = nil
71
- end
72
-
73
- def access_token
74
- # Return cached token if still valid
75
- return @token if @token && Time.now < @token_expires_at
76
-
77
- # Fetch new token
78
- fetch_new_token
79
- end
80
-
81
- private
82
-
83
- def fetch_new_token
84
- uri = URI("#{@oauth_url}/oauth/token")
85
-
86
- request = Net::HTTP::Post.new(uri)
87
- request.basic_auth(@api_key, @api_secret)
88
- request['Content-Type'] = 'application/x-www-form-urlencoded'
89
- request.body = 'grant_type=client_credentials'
90
-
91
- http = Net::HTTP.new(uri.host, uri.port)
92
- http.use_ssl = uri.scheme == 'https'
93
- response = http.request(request)
94
-
95
- if response.code.to_i == 200
96
- data = JSON.parse(response.body)
97
- @token = data['access_token']
98
- @token_expires_at = Time.now + data['expires_in'] - 60 # Refresh 60s before expiry
99
- @token
100
- else
101
- raise "Failed to get access token: #{response.body}"
102
- end
103
- end
104
- end
30
+ (for development, run `gem install --dev ./ifeelgoods-0.0.2.beta.1.gem` to install the development dependencies)
105
31
 
106
- # Usage
107
- token_manager = OAuthTokenManager.new # Reads from environment variables
32
+ or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
108
33
 
109
- api_client = Ifeelgoods::ApiClient.new
110
- api_client.config.host = 'https://api.ifeelgoods.com'
111
- api_client.config.access_token_getter = -> { token_manager.access_token }
34
+ Finally add this to the Gemfile:
112
35
 
113
- accounts_api = Ifeelgoods::AccountsApi.new(api_client) # Uses custom API client with token auth
114
- result = accounts_api.get_current_account
115
- ```
36
+ gem 'ifeelgoods', '~> 0.0.2.beta.1'
116
37
 
117
- **Benefits of Option 2:**
118
- - ✅ Token is cached and reused (fewer network requests)
119
- - ✅ Automatic refresh before expiry
120
- - ✅ Recommended for production environments
121
- - ✅ More secure (API credentials stay server-side)
38
+ ### Install from Git
122
39
 
123
- ## Installation & Usage
40
+ If the Ruby gem is hosted at a git repository: https://github.com/GIT_USER_ID/GIT_REPO_ID, then add the following in the Gemfile:
124
41
 
125
- ### Install from RubyGems
42
+ gem 'ifeelgoods', :git => 'https://github.com/GIT_USER_ID/GIT_REPO_ID.git'
126
43
 
127
- ```shell
128
- gem install ifeelgoods
129
- ```
44
+ ### Include the Ruby code directly
130
45
 
131
- Then require it in your code:
46
+ Include the Ruby code directly using `-I` as follows:
132
47
 
133
48
  ```shell
134
- ruby -e "require 'ifeelgoods'; puts 'SDK loaded successfully'"
49
+ ruby -Ilib script.rb
135
50
  ```
136
51
 
137
- ### Development: Build & Install Locally
52
+ ## Getting Started
138
53
 
139
- To build and test the SDK from source:
54
+ Please follow the [installation](#installation) procedure and then run the following code:
140
55
 
141
- ```shell
142
- cd ruby/generated/fulfillment-sdk
143
- gem build ifeelgoods.gemspec
144
- gem install ./ifeelgoods-VERSION.gem
145
- ```
146
-
147
-
148
- ## Documentation
149
-
150
- Full API documentation is available at:
56
+ ```ruby
57
+ # Load the gem
58
+ require 'ifeelgoods'
151
59
 
152
- - **RubyGems:** [ifeelgoods](https://rubygems.org/gems/ifeelgoods)
153
- - **GitHub Repository:** [ifeelgoods-api-sdks](https://github.com/ifeelgoods/ifeelgoods-api-sdks)
60
+ # Setup authorization
61
+ Ifeelgoods.configure do |config|
62
+ # Configure API key authorization: api_key
63
+ config.api_key['Api-Key'] = 'YOUR API KEY'
64
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
65
+ # config.api_key_prefix['Api-Key'] = 'Bearer'
66
+
67
+ # Configure Bearer authorization: bearer_auth
68
+ config.access_token = 'YOUR_BEARER_TOKEN'
69
+ # Configure a proc to get access tokens in lieu of the static access_token configuration
70
+ config.access_token_getter = -> { 'YOUR TOKEN GETTER PROC' }
71
+
72
+ # Configure API key authorization: api_secret
73
+ config.api_key['Api-Secret'] = 'YOUR API KEY'
74
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
75
+ # config.api_key_prefix['Api-Secret'] = 'Bearer'
76
+ end
154
77
 
155
- ### Explore the SDK Locally
78
+ api_instance = Ifeelgoods::AccountsApi.new
156
79
 
157
- Use IRB to explore available classes and methods:
80
+ begin
81
+ #Get current account
82
+ result = api_instance.get_current_account
83
+ p result
84
+ rescue Ifeelgoods::ApiError => e
85
+ puts "Exception when calling AccountsApi->get_current_account: #{e}"
86
+ end
158
87
 
159
- ```ruby
160
- require 'ifeelgoods'
88
+ ```
161
89
 
162
- # List all available API classes
163
- Ifeelgoods.constants.grep(/Api$/).sort
90
+ ## Documentation for API Endpoints
91
+
92
+ All URIs are relative to *https://api-sandbox.ifeelgoods.com*
93
+
94
+ Class | Method | HTTP request | Description
95
+ ------------ | ------------- | ------------- | -------------
96
+ *Ifeelgoods::AccountsApi* | [**get_current_account**](docs/AccountsApi.md#get_current_account) | **GET** /fulfillment/v2/accounts/me | Get current account
97
+ *Ifeelgoods::ClientsApi* | [**get_client_budget_history**](docs/ClientsApi.md#get_client_budget_history) | **GET** /fulfillment/v2/clients/{client_id}/budget/history | Get a Client budget history
98
+ *Ifeelgoods::ClientsApi* | [**get_client_by_id**](docs/ClientsApi.md#get_client_by_id) | **GET** /fulfillment/v2/clients/{client_id} | Get a Client
99
+ *Ifeelgoods::ClientsApi* | [**list_client_discounts**](docs/ClientsApi.md#list_client_discounts) | **GET** /fulfillment/v2/clients/{client_id}/discounts | List all discounts
100
+ *Ifeelgoods::ClientsApi* | [**list_clients**](docs/ClientsApi.md#list_clients) | **GET** /fulfillment/v2/clients | List all Clients
101
+ *Ifeelgoods::PromotionsApi* | [**get_promotion_by_id**](docs/PromotionsApi.md#get_promotion_by_id) | **GET** /fulfillment/v2/promotions/{promotion_id} | Get a promotion
102
+ *Ifeelgoods::PromotionsApi* | [**list_client_promotions**](docs/PromotionsApi.md#list_client_promotions) | **GET** /fulfillment/v2/clients/{client_id}/promotions | List all Promotions
103
+ *Ifeelgoods::RedemptionsApi* | [**activate_redemption**](docs/RedemptionsApi.md#activate_redemption) | **POST** /fulfillment/v2/redemptions/{redemption_id}/actions/activate | Activate
104
+ *Ifeelgoods::RedemptionsApi* | [**book_redemption**](docs/RedemptionsApi.md#book_redemption) | **POST** /fulfillment/v2/promotions/{promotion_id}/rewards/{reward_sku}/redemptions/book | Book
105
+ *Ifeelgoods::RedemptionsApi* | [**cancel_redemption**](docs/RedemptionsApi.md#cancel_redemption) | **POST** /fulfillment/v2/redemptions/{redemption_id}/actions/cancel | Cancel
106
+ *Ifeelgoods::RedemptionsApi* | [**card_consult_redemption**](docs/RedemptionsApi.md#card_consult_redemption) | **GET** /fulfillment/v2/redemptions/{redemption_id}/card_consult | Consult Card
107
+ *Ifeelgoods::RedemptionsApi* | [**create_and_redeem**](docs/RedemptionsApi.md#create_and_redeem) | **POST** /fulfillment/v2/promotions/{promotion_id}/rewards/{reward_sku}/redemptions/redeem | Create and Redeem
108
+ *Ifeelgoods::RedemptionsApi* | [**create_redemption**](docs/RedemptionsApi.md#create_redemption) | **POST** /fulfillment/v2/promotions/{promotion_id}/redemptions | Create a redemption
109
+ *Ifeelgoods::RedemptionsApi* | [**get_redemption_by_id**](docs/RedemptionsApi.md#get_redemption_by_id) | **GET** /fulfillment/v2/redemptions/{redemption_id} | Get a redemption
110
+ *Ifeelgoods::RedemptionsApi* | [**list_redemptions**](docs/RedemptionsApi.md#list_redemptions) | **GET** /fulfillment/v2/promotions/{promotion_id}/redemptions | List all Redemptions
111
+ *Ifeelgoods::RedemptionsApi* | [**redeem_redemption**](docs/RedemptionsApi.md#redeem_redemption) | **POST** /fulfillment/v2/redemptions/{redemption_id}/actions/redeem | Redeem
112
+ *Ifeelgoods::RedemptionsApi* | [**refund_redemption**](docs/RedemptionsApi.md#refund_redemption) | **POST** /fulfillment/v2/redemptions/{redemption_id}/actions/refund | Refund
113
+ *Ifeelgoods::RewardsApi* | [**get_reward_by_sku**](docs/RewardsApi.md#get_reward_by_sku) | **GET** /fulfillment/v2/rewards/{sku} | Get a Reward
114
+ *Ifeelgoods::RewardsApi* | [**list_rewards**](docs/RewardsApi.md#list_rewards) | **GET** /fulfillment/v2/rewards | List all Rewards
115
+ *Ifeelgoods::StatsApi* | [**get_redemption_stats**](docs/StatsApi.md#get_redemption_stats) | **GET** /fulfillment/v2/clients/{client_id}/stats | Get Redemption Stats
116
+ *Ifeelgoods::VendorPlacesApi* | [**list_client_vendor_places**](docs/VendorPlacesApi.md#list_client_vendor_places) | **GET** /fulfillment/v2/clients/{client_id}/vendor_places | List all vendor places
117
+
118
+
119
+ ## Documentation for Models
120
+
121
+ - [Ifeelgoods::Account](docs/Account.md)
122
+ - [Ifeelgoods::ActivateRedemptionRequest](docs/ActivateRedemptionRequest.md)
123
+ - [Ifeelgoods::ActivateRedemptionRequestData](docs/ActivateRedemptionRequestData.md)
124
+ - [Ifeelgoods::Address](docs/Address.md)
125
+ - [Ifeelgoods::BrandSummary](docs/BrandSummary.md)
126
+ - [Ifeelgoods::BudgetLineItem](docs/BudgetLineItem.md)
127
+ - [Ifeelgoods::CardConsultRedemption200Response](docs/CardConsultRedemption200Response.md)
128
+ - [Ifeelgoods::CardConsultRedemption200ResponseData](docs/CardConsultRedemption200ResponseData.md)
129
+ - [Ifeelgoods::CardConsultRedemption422Response](docs/CardConsultRedemption422Response.md)
130
+ - [Ifeelgoods::ClientDetails](docs/ClientDetails.md)
131
+ - [Ifeelgoods::ClientSummary](docs/ClientSummary.md)
132
+ - [Ifeelgoods::ClientSummaryBudgetAlerts](docs/ClientSummaryBudgetAlerts.md)
133
+ - [Ifeelgoods::CreateAndRedeemRequest](docs/CreateAndRedeemRequest.md)
134
+ - [Ifeelgoods::CreateAndRedeemRequestData](docs/CreateAndRedeemRequestData.md)
135
+ - [Ifeelgoods::CreateRedemption201Response](docs/CreateRedemption201Response.md)
136
+ - [Ifeelgoods::CreateRedemption422Response](docs/CreateRedemption422Response.md)
137
+ - [Ifeelgoods::CreateRedemptionRequest](docs/CreateRedemptionRequest.md)
138
+ - [Ifeelgoods::CreateRedemptionRequestData](docs/CreateRedemptionRequestData.md)
139
+ - [Ifeelgoods::CreateRedemptionRequestDataCustomization](docs/CreateRedemptionRequestDataCustomization.md)
140
+ - [Ifeelgoods::CreateRedemptionRequestDataCustomizationPdf](docs/CreateRedemptionRequestDataCustomizationPdf.md)
141
+ - [Ifeelgoods::CreateRedemptionRequestDataReward](docs/CreateRedemptionRequestDataReward.md)
142
+ - [Ifeelgoods::CreateRedemptionRequestDataValue](docs/CreateRedemptionRequestDataValue.md)
143
+ - [Ifeelgoods::Dimension](docs/Dimension.md)
144
+ - [Ifeelgoods::DimensionDenomination](docs/DimensionDenomination.md)
145
+ - [Ifeelgoods::DiscountSummary](docs/DiscountSummary.md)
146
+ - [Ifeelgoods::ErrorResponse](docs/ErrorResponse.md)
147
+ - [Ifeelgoods::GetClientBudgetHistory200Response](docs/GetClientBudgetHistory200Response.md)
148
+ - [Ifeelgoods::GetClientById200Response](docs/GetClientById200Response.md)
149
+ - [Ifeelgoods::GetCurrentAccount200Response](docs/GetCurrentAccount200Response.md)
150
+ - [Ifeelgoods::GetPromotionByID200Response](docs/GetPromotionByID200Response.md)
151
+ - [Ifeelgoods::GetPromotionByID401Response](docs/GetPromotionByID401Response.md)
152
+ - [Ifeelgoods::GetPromotionByID404Response](docs/GetPromotionByID404Response.md)
153
+ - [Ifeelgoods::GetRedemptionStats200Response](docs/GetRedemptionStats200Response.md)
154
+ - [Ifeelgoods::GetRewardBySKU200Response](docs/GetRewardBySKU200Response.md)
155
+ - [Ifeelgoods::ListClientDiscounts200Response](docs/ListClientDiscounts200Response.md)
156
+ - [Ifeelgoods::ListClientPromotions200Response](docs/ListClientPromotions200Response.md)
157
+ - [Ifeelgoods::ListClientPromotions200ResponsePaging](docs/ListClientPromotions200ResponsePaging.md)
158
+ - [Ifeelgoods::ListClientPromotions401Response](docs/ListClientPromotions401Response.md)
159
+ - [Ifeelgoods::ListClientVendorPlaces200Response](docs/ListClientVendorPlaces200Response.md)
160
+ - [Ifeelgoods::ListClients200Response](docs/ListClients200Response.md)
161
+ - [Ifeelgoods::ListRedemptions200Response](docs/ListRedemptions200Response.md)
162
+ - [Ifeelgoods::ListRewards200Response](docs/ListRewards200Response.md)
163
+ - [Ifeelgoods::ProductSummary](docs/ProductSummary.md)
164
+ - [Ifeelgoods::ProductType](docs/ProductType.md)
165
+ - [Ifeelgoods::PromotionDetails](docs/PromotionDetails.md)
166
+ - [Ifeelgoods::PromotionDetailsClient](docs/PromotionDetailsClient.md)
167
+ - [Ifeelgoods::PromotionDetailsRewardsInner](docs/PromotionDetailsRewardsInner.md)
168
+ - [Ifeelgoods::Redemption](docs/Redemption.md)
169
+ - [Ifeelgoods::RedemptionPromotion](docs/RedemptionPromotion.md)
170
+ - [Ifeelgoods::RedemptionReward](docs/RedemptionReward.md)
171
+ - [Ifeelgoods::RedemptionRewardFormat](docs/RedemptionRewardFormat.md)
172
+ - [Ifeelgoods::RedemptionValue](docs/RedemptionValue.md)
173
+ - [Ifeelgoods::RewardDetails](docs/RewardDetails.md)
174
+ - [Ifeelgoods::RewardDetailsBrand](docs/RewardDetailsBrand.md)
175
+ - [Ifeelgoods::RewardDetailsDimensions](docs/RewardDetailsDimensions.md)
176
+ - [Ifeelgoods::RewardDetailsProduct](docs/RewardDetailsProduct.md)
177
+ - [Ifeelgoods::RewardDetailsProductType](docs/RewardDetailsProductType.md)
178
+ - [Ifeelgoods::RewardDetailsTargeting](docs/RewardDetailsTargeting.md)
179
+ - [Ifeelgoods::RewardFormat](docs/RewardFormat.md)
180
+ - [Ifeelgoods::Stats](docs/Stats.md)
181
+ - [Ifeelgoods::StatsTimeframe](docs/StatsTimeframe.md)
182
+ - [Ifeelgoods::StatsValuesInner](docs/StatsValuesInner.md)
183
+ - [Ifeelgoods::StatsValuesInnerGroupByInner](docs/StatsValuesInnerGroupByInner.md)
184
+ - [Ifeelgoods::StatsValuesInnerStates](docs/StatsValuesInnerStates.md)
185
+ - [Ifeelgoods::User](docs/User.md)
186
+ - [Ifeelgoods::VendorPlace](docs/VendorPlace.md)
187
+ - [Ifeelgoods::VendorPlaceBrand](docs/VendorPlaceBrand.md)
188
+ - [Ifeelgoods::VendorPlaceGeoloc](docs/VendorPlaceGeoloc.md)
189
+
190
+
191
+ ## Documentation for Authorization
192
+
193
+
194
+ Authentication schemes defined for the API:
195
+ ### bearer_auth
196
+
197
+ - **Type**: Bearer authentication
198
+
199
+ ### api_key
200
+
201
+
202
+ - **Type**: API key
203
+ - **API key parameter name**: Api-Key
204
+ - **Location**: HTTP header
205
+
206
+ ### api_secret
207
+
208
+
209
+ - **Type**: API key
210
+ - **API key parameter name**: Api-Secret
211
+ - **Location**: HTTP header
164
212
 
165
- # Explore a specific API
166
- Ifeelgoods::AccountsApi.instance_methods(false)
167
- ```
@@ -56,7 +56,7 @@ instance = Ifeelgoods::RewardDetails.new(
56
56
  product: null,
57
57
  product_type: null,
58
58
  usages: [&quot;primary&quot;],
59
- expiration_date: 2026-08-03,
59
+ expiration_date: 2026-08-04,
60
60
  categories: [&quot;Sports&quot;],
61
61
  description: null,
62
62
  country: [&quot;US&quot;,&quot;CA&quot;],
@@ -20,15 +20,15 @@
20
20
  require 'ifeelgoods'
21
21
 
22
22
  instance = Ifeelgoods::StatsValuesInnerStates.new(
23
- pending: 5,
24
- booked: 2,
25
- redeemed: 7,
26
- denied: 4,
27
- failed: 0,
28
- refunded: 6,
29
- blocked: 9,
30
- canceled: 6,
31
- expired: 3
23
+ pending: 1,
24
+ booked: 1,
25
+ redeemed: 1,
26
+ denied: 1,
27
+ failed: 1,
28
+ refunded: 1,
29
+ blocked: 1,
30
+ canceled: 1,
31
+ expired: 1
32
32
  )
33
33
  ```
34
34
 
@@ -11,5 +11,5 @@ Generator version: 7.24.0
11
11
  =end
12
12
 
13
13
  module Ifeelgoods
14
- VERSION = '0.0.1'
14
+ VERSION = '0.0.2.beta.1'
15
15
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ifeelgoods
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2.beta.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - IFeelGoods Team
@@ -310,9 +310,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
310
310
  version: '2.7'
311
311
  required_rubygems_version: !ruby/object:Gem::Requirement
312
312
  requirements:
313
- - - ">="
313
+ - - ">"
314
314
  - !ruby/object:Gem::Version
315
- version: '0'
315
+ version: 1.3.1
316
316
  requirements: []
317
317
  rubygems_version: 3.4.19
318
318
  signing_key: