firefly-iii-client 1.0.0 → 1.0.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 +4 -4
- data/README.md +248 -248
- data/docs/AboutApi.md +1 -1
- data/docs/Account.md +1 -1
- data/docs/AccountArray.md +1 -1
- data/docs/AccountRead.md +1 -1
- data/docs/AccountSingle.md +1 -1
- data/docs/AccountTypeFilter.md +1 -1
- data/docs/AccountTypeProperty.md +1 -1
- data/docs/AccountsApi.md +1 -1
- data/docs/Attachment.md +1 -1
- data/docs/AttachmentArray.md +1 -1
- data/docs/AttachmentRead.md +1 -1
- data/docs/AttachmentSingle.md +1 -1
- data/docs/AttachmentsApi.md +1 -1
- data/docs/AvailableBudget.md +1 -1
- data/docs/AvailableBudgetArray.md +1 -1
- data/docs/AvailableBudgetRead.md +1 -1
- data/docs/AvailableBudgetSingle.md +1 -1
- data/docs/AvailableBudgetsApi.md +1 -1
- data/docs/BasicSummaryEntry.md +1 -1
- data/docs/Bill.md +1 -1
- data/docs/BillArray.md +1 -1
- data/docs/BillPaidDates.md +1 -1
- data/docs/BillRead.md +1 -1
- data/docs/BillSingle.md +1 -1
- data/docs/BillsApi.md +1 -1
- data/docs/Budget.md +1 -1
- data/docs/BudgetArray.md +1 -1
- data/docs/BudgetLimit.md +1 -1
- data/docs/BudgetLimitArray.md +1 -1
- data/docs/BudgetLimitRead.md +1 -1
- data/docs/BudgetLimitSingle.md +1 -1
- data/docs/BudgetRead.md +1 -1
- data/docs/BudgetSingle.md +1 -1
- data/docs/BudgetSpent.md +1 -1
- data/docs/BudgetsApi.md +1 -1
- data/docs/CategoriesApi.md +1 -1
- data/docs/Category.md +1 -1
- data/docs/CategoryArray.md +1 -1
- data/docs/CategoryEarned.md +1 -1
- data/docs/CategoryRead.md +1 -1
- data/docs/CategorySingle.md +1 -1
- data/docs/CategorySpent.md +1 -1
- data/docs/ChartDataPoint.md +1 -1
- data/docs/ChartDataSet.md +1 -1
- data/docs/ChartsApi.md +1 -1
- data/docs/ConfigurationApi.md +1 -1
- data/docs/ConfigurationUpdate.md +1 -1
- data/docs/CurrenciesApi.md +1 -1
- data/docs/Currency.md +1 -1
- data/docs/CurrencyArray.md +1 -1
- data/docs/CurrencyExchangeRatesApi.md +1 -1
- data/docs/CurrencyRead.md +1 -1
- data/docs/CurrencySingle.md +1 -1
- data/docs/ExchangeRate.md +1 -1
- data/docs/ExchangeRateArray.md +1 -1
- data/docs/ExchangeRateAttributes.md +1 -1
- data/docs/ImportApi.md +1 -1
- data/docs/ImportJob.md +1 -1
- data/docs/ImportJobArray.md +1 -1
- data/docs/ImportJobAttributes.md +1 -1
- data/docs/ImportJobSingle.md +1 -1
- data/docs/LinkType.md +1 -1
- data/docs/LinkTypeArray.md +1 -1
- data/docs/LinkTypeRead.md +1 -1
- data/docs/LinkTypeSingle.md +1 -1
- data/docs/LinksApi.md +1 -1
- data/docs/Meta.md +1 -1
- data/docs/MetaPagination.md +1 -1
- data/docs/ObjectLink.md +1 -1
- data/docs/ObjectLink0.md +1 -1
- data/docs/PageLink.md +1 -1
- data/docs/PiggyBank.md +1 -1
- data/docs/PiggyBankArray.md +1 -1
- data/docs/PiggyBankEvent.md +1 -1
- data/docs/PiggyBankEventArray.md +1 -1
- data/docs/PiggyBankEventAttributes.md +1 -1
- data/docs/PiggyBankRead.md +1 -1
- data/docs/PiggyBankSingle.md +1 -1
- data/docs/PiggyBanksApi.md +1 -1
- data/docs/Preference.md +1 -1
- data/docs/PreferenceArray.md +1 -1
- data/docs/PreferenceRead.md +1 -1
- data/docs/PreferenceSingle.md +1 -1
- data/docs/PreferencesApi.md +1 -1
- data/docs/Recurrence.md +1 -1
- data/docs/RecurrenceArray.md +1 -1
- data/docs/RecurrenceRead.md +1 -1
- data/docs/RecurrenceRepetition.md +1 -1
- data/docs/RecurrenceSingle.md +1 -1
- data/docs/RecurrenceTransaction.md +1 -1
- data/docs/RecurrencesApi.md +1 -1
- data/docs/Rule.md +1 -1
- data/docs/RuleAction.md +1 -1
- data/docs/RuleArray.md +1 -1
- data/docs/RuleGroup.md +1 -1
- data/docs/RuleGroupArray.md +1 -1
- data/docs/RuleGroupRead.md +1 -1
- data/docs/RuleGroupSingle.md +1 -1
- data/docs/RuleGroupsApi.md +1 -1
- data/docs/RuleRead.md +1 -1
- data/docs/RuleSingle.md +1 -1
- data/docs/RuleTrigger.md +1 -1
- data/docs/RulesApi.md +1 -1
- data/docs/SummaryApi.md +1 -1
- data/docs/SystemConfiguration.md +1 -1
- data/docs/SystemConfigurationData.md +1 -1
- data/docs/SystemInfo.md +1 -1
- data/docs/SystemInfoData.md +1 -1
- data/docs/TagArray.md +1 -1
- data/docs/TagCloud.md +1 -1
- data/docs/TagCloudTag.md +1 -1
- data/docs/TagModel.md +1 -1
- data/docs/TagRead.md +1 -1
- data/docs/TagSingle.md +1 -1
- data/docs/TagsApi.md +1 -1
- data/docs/Transaction.md +1 -1
- data/docs/TransactionArray.md +1 -1
- data/docs/TransactionLink.md +1 -1
- data/docs/TransactionLinkArray.md +1 -1
- data/docs/TransactionLinkRead.md +1 -1
- data/docs/TransactionLinkSingle.md +1 -1
- data/docs/TransactionRead.md +1 -1
- data/docs/TransactionSingle.md +1 -1
- data/docs/TransactionSplit.md +1 -1
- data/docs/TransactionTypeFilter.md +1 -1
- data/docs/TransactionsApi.md +1 -1
- data/docs/User.md +1 -1
- data/docs/UserArray.md +1 -1
- data/docs/UserRead.md +1 -1
- data/docs/UserSingle.md +1 -1
- data/docs/UsersApi.md +1 -1
- data/docs/ValidationError.md +1 -1
- data/docs/ValidationErrorErrors.md +1 -1
- data/lib/firefly_iii_client/configuration.rb +1 -1
- data/lib/firefly_iii_client/models/account.rb +2 -2
- data/lib/firefly_iii_client/models/account_array.rb +2 -2
- data/lib/firefly_iii_client/models/account_read.rb +2 -2
- data/lib/firefly_iii_client/models/account_single.rb +2 -2
- data/lib/firefly_iii_client/models/attachment.rb +2 -2
- data/lib/firefly_iii_client/models/attachment_array.rb +2 -2
- data/lib/firefly_iii_client/models/attachment_read.rb +2 -2
- data/lib/firefly_iii_client/models/attachment_single.rb +2 -2
- data/lib/firefly_iii_client/models/available_budget.rb +2 -2
- data/lib/firefly_iii_client/models/available_budget_array.rb +2 -2
- data/lib/firefly_iii_client/models/available_budget_read.rb +2 -2
- data/lib/firefly_iii_client/models/available_budget_single.rb +2 -2
- data/lib/firefly_iii_client/models/basic_summary_entry.rb +2 -2
- data/lib/firefly_iii_client/models/bill.rb +2 -2
- data/lib/firefly_iii_client/models/bill_array.rb +2 -2
- data/lib/firefly_iii_client/models/bill_paid_dates.rb +2 -2
- data/lib/firefly_iii_client/models/bill_read.rb +2 -2
- data/lib/firefly_iii_client/models/bill_single.rb +2 -2
- data/lib/firefly_iii_client/models/budget.rb +2 -2
- data/lib/firefly_iii_client/models/budget_array.rb +2 -2
- data/lib/firefly_iii_client/models/budget_limit.rb +2 -2
- data/lib/firefly_iii_client/models/budget_limit_array.rb +2 -2
- data/lib/firefly_iii_client/models/budget_limit_read.rb +2 -2
- data/lib/firefly_iii_client/models/budget_limit_single.rb +2 -2
- data/lib/firefly_iii_client/models/budget_read.rb +2 -2
- data/lib/firefly_iii_client/models/budget_single.rb +2 -2
- data/lib/firefly_iii_client/models/budget_spent.rb +2 -2
- data/lib/firefly_iii_client/models/category.rb +2 -2
- data/lib/firefly_iii_client/models/category_array.rb +2 -2
- data/lib/firefly_iii_client/models/category_earned.rb +2 -2
- data/lib/firefly_iii_client/models/category_read.rb +2 -2
- data/lib/firefly_iii_client/models/category_single.rb +2 -2
- data/lib/firefly_iii_client/models/category_spent.rb +2 -2
- data/lib/firefly_iii_client/models/chart_data_point.rb +2 -2
- data/lib/firefly_iii_client/models/chart_data_set.rb +2 -2
- data/lib/firefly_iii_client/models/configuration_update.rb +2 -2
- data/lib/firefly_iii_client/models/currency.rb +2 -2
- data/lib/firefly_iii_client/models/currency_array.rb +2 -2
- data/lib/firefly_iii_client/models/currency_read.rb +2 -2
- data/lib/firefly_iii_client/models/currency_single.rb +2 -2
- data/lib/firefly_iii_client/models/exchange_rate.rb +2 -2
- data/lib/firefly_iii_client/models/exchange_rate_array.rb +2 -2
- data/lib/firefly_iii_client/models/exchange_rate_attributes.rb +2 -2
- data/lib/firefly_iii_client/models/import_job.rb +2 -2
- data/lib/firefly_iii_client/models/import_job_array.rb +2 -2
- data/lib/firefly_iii_client/models/import_job_attributes.rb +2 -2
- data/lib/firefly_iii_client/models/import_job_single.rb +2 -2
- data/lib/firefly_iii_client/models/link_type.rb +2 -2
- data/lib/firefly_iii_client/models/link_type_array.rb +2 -2
- data/lib/firefly_iii_client/models/link_type_read.rb +2 -2
- data/lib/firefly_iii_client/models/link_type_single.rb +2 -2
- data/lib/firefly_iii_client/models/meta.rb +2 -2
- data/lib/firefly_iii_client/models/meta_pagination.rb +2 -2
- data/lib/firefly_iii_client/models/object_link.rb +2 -2
- data/lib/firefly_iii_client/models/object_link0.rb +2 -2
- data/lib/firefly_iii_client/models/page_link.rb +2 -2
- data/lib/firefly_iii_client/models/piggy_bank.rb +2 -2
- data/lib/firefly_iii_client/models/piggy_bank_array.rb +2 -2
- data/lib/firefly_iii_client/models/piggy_bank_event.rb +2 -2
- data/lib/firefly_iii_client/models/piggy_bank_event_array.rb +2 -2
- data/lib/firefly_iii_client/models/piggy_bank_event_attributes.rb +2 -2
- data/lib/firefly_iii_client/models/piggy_bank_read.rb +2 -2
- data/lib/firefly_iii_client/models/piggy_bank_single.rb +2 -2
- data/lib/firefly_iii_client/models/preference.rb +2 -2
- data/lib/firefly_iii_client/models/preference_array.rb +2 -2
- data/lib/firefly_iii_client/models/preference_read.rb +2 -2
- data/lib/firefly_iii_client/models/preference_single.rb +2 -2
- data/lib/firefly_iii_client/models/recurrence.rb +2 -2
- data/lib/firefly_iii_client/models/recurrence_array.rb +2 -2
- data/lib/firefly_iii_client/models/recurrence_read.rb +2 -2
- data/lib/firefly_iii_client/models/recurrence_repetition.rb +2 -2
- data/lib/firefly_iii_client/models/recurrence_single.rb +2 -2
- data/lib/firefly_iii_client/models/recurrence_transaction.rb +2 -2
- data/lib/firefly_iii_client/models/rule.rb +2 -2
- data/lib/firefly_iii_client/models/rule_action.rb +2 -2
- data/lib/firefly_iii_client/models/rule_array.rb +2 -2
- data/lib/firefly_iii_client/models/rule_group.rb +2 -2
- data/lib/firefly_iii_client/models/rule_group_array.rb +2 -2
- data/lib/firefly_iii_client/models/rule_group_read.rb +2 -2
- data/lib/firefly_iii_client/models/rule_group_single.rb +2 -2
- data/lib/firefly_iii_client/models/rule_read.rb +2 -2
- data/lib/firefly_iii_client/models/rule_single.rb +2 -2
- data/lib/firefly_iii_client/models/rule_trigger.rb +2 -2
- data/lib/firefly_iii_client/models/system_configuration.rb +2 -2
- data/lib/firefly_iii_client/models/system_configuration_data.rb +2 -2
- data/lib/firefly_iii_client/models/system_info.rb +2 -2
- data/lib/firefly_iii_client/models/system_info_data.rb +2 -2
- data/lib/firefly_iii_client/models/tag_array.rb +2 -2
- data/lib/firefly_iii_client/models/tag_cloud.rb +2 -2
- data/lib/firefly_iii_client/models/tag_cloud_tag.rb +2 -2
- data/lib/firefly_iii_client/models/tag_model.rb +2 -2
- data/lib/firefly_iii_client/models/tag_read.rb +2 -2
- data/lib/firefly_iii_client/models/tag_single.rb +2 -2
- data/lib/firefly_iii_client/models/transaction.rb +2 -2
- data/lib/firefly_iii_client/models/transaction_array.rb +2 -2
- data/lib/firefly_iii_client/models/transaction_link.rb +2 -2
- data/lib/firefly_iii_client/models/transaction_link_array.rb +2 -2
- data/lib/firefly_iii_client/models/transaction_link_read.rb +2 -2
- data/lib/firefly_iii_client/models/transaction_link_single.rb +2 -2
- data/lib/firefly_iii_client/models/transaction_read.rb +2 -2
- data/lib/firefly_iii_client/models/transaction_single.rb +2 -2
- data/lib/firefly_iii_client/models/transaction_split.rb +2 -2
- data/lib/firefly_iii_client/models/user.rb +2 -2
- data/lib/firefly_iii_client/models/user_array.rb +2 -2
- data/lib/firefly_iii_client/models/user_read.rb +2 -2
- data/lib/firefly_iii_client/models/user_single.rb +2 -2
- data/lib/firefly_iii_client/models/validation_error.rb +2 -2
- data/lib/firefly_iii_client/models/validation_error_errors.rb +2 -2
- data/lib/firefly_iii_client/version.rb +1 -1
- data/spec/api/about_api_spec.rb +1 -1
- data/spec/api/accounts_api_spec.rb +1 -1
- data/spec/api/attachments_api_spec.rb +1 -1
- data/spec/api/available_budgets_api_spec.rb +1 -1
- data/spec/api/bills_api_spec.rb +1 -1
- data/spec/api/budgets_api_spec.rb +1 -1
- data/spec/api/categories_api_spec.rb +1 -1
- data/spec/api/charts_api_spec.rb +1 -1
- data/spec/api/configuration_api_spec.rb +1 -1
- data/spec/api/currencies_api_spec.rb +1 -1
- data/spec/api/currency_exchange_rates_api_spec.rb +1 -1
- data/spec/api/import_api_spec.rb +1 -1
- data/spec/api/links_api_spec.rb +1 -1
- data/spec/api/piggy_banks_api_spec.rb +1 -1
- data/spec/api/preferences_api_spec.rb +1 -1
- data/spec/api/recurrences_api_spec.rb +1 -1
- data/spec/api/rule_groups_api_spec.rb +1 -1
- data/spec/api/rules_api_spec.rb +1 -1
- data/spec/api/summary_api_spec.rb +1 -1
- data/spec/api/tags_api_spec.rb +1 -1
- data/spec/api/transactions_api_spec.rb +1 -1
- data/spec/api/users_api_spec.rb +1 -1
- data/spec/api_client_spec.rb +2 -2
- data/spec/models/account_array_spec.rb +1 -1
- data/spec/models/account_read_spec.rb +1 -1
- data/spec/models/account_single_spec.rb +1 -1
- data/spec/models/account_spec.rb +1 -1
- data/spec/models/account_type_filter_spec.rb +1 -1
- data/spec/models/account_type_property_spec.rb +1 -1
- data/spec/models/attachment_array_spec.rb +1 -1
- data/spec/models/attachment_read_spec.rb +1 -1
- data/spec/models/attachment_single_spec.rb +1 -1
- data/spec/models/attachment_spec.rb +1 -1
- data/spec/models/available_budget_array_spec.rb +1 -1
- data/spec/models/available_budget_read_spec.rb +1 -1
- data/spec/models/available_budget_single_spec.rb +1 -1
- data/spec/models/available_budget_spec.rb +1 -1
- data/spec/models/basic_summary_entry_spec.rb +1 -1
- data/spec/models/bill_array_spec.rb +1 -1
- data/spec/models/bill_paid_dates_spec.rb +1 -1
- data/spec/models/bill_read_spec.rb +1 -1
- data/spec/models/bill_single_spec.rb +1 -1
- data/spec/models/bill_spec.rb +1 -1
- data/spec/models/budget_array_spec.rb +1 -1
- data/spec/models/budget_limit_array_spec.rb +1 -1
- data/spec/models/budget_limit_read_spec.rb +1 -1
- data/spec/models/budget_limit_single_spec.rb +1 -1
- data/spec/models/budget_limit_spec.rb +1 -1
- data/spec/models/budget_read_spec.rb +1 -1
- data/spec/models/budget_single_spec.rb +1 -1
- data/spec/models/budget_spec.rb +1 -1
- data/spec/models/budget_spent_spec.rb +1 -1
- data/spec/models/category_array_spec.rb +1 -1
- data/spec/models/category_earned_spec.rb +1 -1
- data/spec/models/category_read_spec.rb +1 -1
- data/spec/models/category_single_spec.rb +1 -1
- data/spec/models/category_spec.rb +1 -1
- data/spec/models/category_spent_spec.rb +1 -1
- data/spec/models/chart_data_point_spec.rb +1 -1
- data/spec/models/chart_data_set_spec.rb +1 -1
- data/spec/models/configuration_update_spec.rb +1 -1
- data/spec/models/currency_array_spec.rb +1 -1
- data/spec/models/currency_read_spec.rb +1 -1
- data/spec/models/currency_single_spec.rb +1 -1
- data/spec/models/currency_spec.rb +1 -1
- data/spec/models/exchange_rate_array_spec.rb +1 -1
- data/spec/models/exchange_rate_attributes_spec.rb +1 -1
- data/spec/models/exchange_rate_spec.rb +1 -1
- data/spec/models/import_job_array_spec.rb +1 -1
- data/spec/models/import_job_attributes_spec.rb +1 -1
- data/spec/models/import_job_single_spec.rb +1 -1
- data/spec/models/import_job_spec.rb +1 -1
- data/spec/models/link_type_array_spec.rb +1 -1
- data/spec/models/link_type_read_spec.rb +1 -1
- data/spec/models/link_type_single_spec.rb +1 -1
- data/spec/models/link_type_spec.rb +1 -1
- data/spec/models/meta_pagination_spec.rb +1 -1
- data/spec/models/meta_spec.rb +1 -1
- data/spec/models/object_link0_spec.rb +1 -1
- data/spec/models/object_link_spec.rb +1 -1
- data/spec/models/page_link_spec.rb +1 -1
- data/spec/models/piggy_bank_array_spec.rb +1 -1
- data/spec/models/piggy_bank_event_array_spec.rb +1 -1
- data/spec/models/piggy_bank_event_attributes_spec.rb +1 -1
- data/spec/models/piggy_bank_event_spec.rb +1 -1
- data/spec/models/piggy_bank_read_spec.rb +1 -1
- data/spec/models/piggy_bank_single_spec.rb +1 -1
- data/spec/models/piggy_bank_spec.rb +1 -1
- data/spec/models/preference_array_spec.rb +1 -1
- data/spec/models/preference_read_spec.rb +1 -1
- data/spec/models/preference_single_spec.rb +1 -1
- data/spec/models/preference_spec.rb +1 -1
- data/spec/models/recurrence_array_spec.rb +1 -1
- data/spec/models/recurrence_read_spec.rb +1 -1
- data/spec/models/recurrence_repetition_spec.rb +1 -1
- data/spec/models/recurrence_single_spec.rb +1 -1
- data/spec/models/recurrence_spec.rb +1 -1
- data/spec/models/recurrence_transaction_spec.rb +1 -1
- data/spec/models/rule_action_spec.rb +1 -1
- data/spec/models/rule_array_spec.rb +1 -1
- data/spec/models/rule_group_array_spec.rb +1 -1
- data/spec/models/rule_group_read_spec.rb +1 -1
- data/spec/models/rule_group_single_spec.rb +1 -1
- data/spec/models/rule_group_spec.rb +1 -1
- data/spec/models/rule_read_spec.rb +1 -1
- data/spec/models/rule_single_spec.rb +1 -1
- data/spec/models/rule_spec.rb +1 -1
- data/spec/models/rule_trigger_spec.rb +1 -1
- data/spec/models/system_configuration_data_spec.rb +1 -1
- data/spec/models/system_configuration_spec.rb +1 -1
- data/spec/models/system_info_data_spec.rb +1 -1
- data/spec/models/system_info_spec.rb +1 -1
- data/spec/models/tag_array_spec.rb +1 -1
- data/spec/models/tag_cloud_spec.rb +1 -1
- data/spec/models/tag_cloud_tag_spec.rb +1 -1
- data/spec/models/tag_model_spec.rb +1 -1
- data/spec/models/tag_read_spec.rb +1 -1
- data/spec/models/tag_single_spec.rb +1 -1
- data/spec/models/transaction_array_spec.rb +1 -1
- data/spec/models/transaction_link_array_spec.rb +1 -1
- data/spec/models/transaction_link_read_spec.rb +1 -1
- data/spec/models/transaction_link_single_spec.rb +1 -1
- data/spec/models/transaction_link_spec.rb +1 -1
- data/spec/models/transaction_read_spec.rb +1 -1
- data/spec/models/transaction_single_spec.rb +1 -1
- data/spec/models/transaction_spec.rb +1 -1
- data/spec/models/transaction_split_spec.rb +1 -1
- data/spec/models/transaction_type_filter_spec.rb +1 -1
- data/spec/models/user_array_spec.rb +1 -1
- data/spec/models/user_read_spec.rb +1 -1
- data/spec/models/user_single_spec.rb +1 -1
- data/spec/models/user_spec.rb +1 -1
- data/spec/models/validation_error_errors_spec.rb +1 -1
- data/spec/models/validation_error_spec.rb +1 -1
- metadata +1 -1
@@ -94,13 +94,13 @@ module FireflyIIIClient
|
|
94
94
|
# @param [Hash] attributes Model attributes in the form of hash
|
95
95
|
def initialize(attributes = {})
|
96
96
|
if (!attributes.is_a?(Hash))
|
97
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `
|
97
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `FireflyIIIClient::User` initialize method"
|
98
98
|
end
|
99
99
|
|
100
100
|
# check to see if the attribute exists and convert string to symbol for hash key
|
101
101
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
102
102
|
if (!self.class.attribute_map.key?(k.to_sym))
|
103
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `
|
103
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `FireflyIIIClient::User`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
104
104
|
end
|
105
105
|
h[k.to_sym] = v
|
106
106
|
}
|
@@ -54,13 +54,13 @@ module FireflyIIIClient
|
|
54
54
|
# @param [Hash] attributes Model attributes in the form of hash
|
55
55
|
def initialize(attributes = {})
|
56
56
|
if (!attributes.is_a?(Hash))
|
57
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `
|
57
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `FireflyIIIClient::UserArray` initialize method"
|
58
58
|
end
|
59
59
|
|
60
60
|
# check to see if the attribute exists and convert string to symbol for hash key
|
61
61
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
62
62
|
if (!self.class.attribute_map.key?(k.to_sym))
|
63
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `
|
63
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `FireflyIIIClient::UserArray`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
64
64
|
end
|
65
65
|
h[k.to_sym] = v
|
66
66
|
}
|
@@ -59,13 +59,13 @@ module FireflyIIIClient
|
|
59
59
|
# @param [Hash] attributes Model attributes in the form of hash
|
60
60
|
def initialize(attributes = {})
|
61
61
|
if (!attributes.is_a?(Hash))
|
62
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `
|
62
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `FireflyIIIClient::UserRead` initialize method"
|
63
63
|
end
|
64
64
|
|
65
65
|
# check to see if the attribute exists and convert string to symbol for hash key
|
66
66
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
67
67
|
if (!self.class.attribute_map.key?(k.to_sym))
|
68
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `
|
68
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `FireflyIIIClient::UserRead`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
69
69
|
end
|
70
70
|
h[k.to_sym] = v
|
71
71
|
}
|
@@ -46,13 +46,13 @@ module FireflyIIIClient
|
|
46
46
|
# @param [Hash] attributes Model attributes in the form of hash
|
47
47
|
def initialize(attributes = {})
|
48
48
|
if (!attributes.is_a?(Hash))
|
49
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `
|
49
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `FireflyIIIClient::UserSingle` initialize method"
|
50
50
|
end
|
51
51
|
|
52
52
|
# check to see if the attribute exists and convert string to symbol for hash key
|
53
53
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
54
54
|
if (!self.class.attribute_map.key?(k.to_sym))
|
55
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `
|
55
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `FireflyIIIClient::UserSingle`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
56
56
|
end
|
57
57
|
h[k.to_sym] = v
|
58
58
|
}
|
@@ -50,13 +50,13 @@ module FireflyIIIClient
|
|
50
50
|
# @param [Hash] attributes Model attributes in the form of hash
|
51
51
|
def initialize(attributes = {})
|
52
52
|
if (!attributes.is_a?(Hash))
|
53
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `
|
53
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `FireflyIIIClient::ValidationError` initialize method"
|
54
54
|
end
|
55
55
|
|
56
56
|
# check to see if the attribute exists and convert string to symbol for hash key
|
57
57
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
58
58
|
if (!self.class.attribute_map.key?(k.to_sym))
|
59
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `
|
59
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `FireflyIIIClient::ValidationError`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
60
60
|
end
|
61
61
|
h[k.to_sym] = v
|
62
62
|
}
|
@@ -50,13 +50,13 @@ module FireflyIIIClient
|
|
50
50
|
# @param [Hash] attributes Model attributes in the form of hash
|
51
51
|
def initialize(attributes = {})
|
52
52
|
if (!attributes.is_a?(Hash))
|
53
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `
|
53
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `FireflyIIIClient::ValidationErrorErrors` initialize method"
|
54
54
|
end
|
55
55
|
|
56
56
|
# check to see if the attribute exists and convert string to symbol for hash key
|
57
57
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
58
58
|
if (!self.class.attribute_map.key?(k.to_sym))
|
59
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `
|
59
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `FireflyIIIClient::ValidationErrorErrors`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
60
60
|
end
|
61
61
|
h[k.to_sym] = v
|
62
62
|
}
|
data/spec/api/about_api_spec.rb
CHANGED
@@ -13,7 +13,7 @@ OpenAPI Generator version: 5.1.0-SNAPSHOT
|
|
13
13
|
require 'spec_helper'
|
14
14
|
require 'json'
|
15
15
|
|
16
|
-
# Unit tests for
|
16
|
+
# Unit tests for FireflyIIIClient::AboutApi
|
17
17
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
18
|
# Please update as you see appropriate
|
19
19
|
describe 'AboutApi' do
|
@@ -13,7 +13,7 @@ OpenAPI Generator version: 5.1.0-SNAPSHOT
|
|
13
13
|
require 'spec_helper'
|
14
14
|
require 'json'
|
15
15
|
|
16
|
-
# Unit tests for
|
16
|
+
# Unit tests for FireflyIIIClient::AccountsApi
|
17
17
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
18
|
# Please update as you see appropriate
|
19
19
|
describe 'AccountsApi' do
|
@@ -13,7 +13,7 @@ OpenAPI Generator version: 5.1.0-SNAPSHOT
|
|
13
13
|
require 'spec_helper'
|
14
14
|
require 'json'
|
15
15
|
|
16
|
-
# Unit tests for
|
16
|
+
# Unit tests for FireflyIIIClient::AttachmentsApi
|
17
17
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
18
|
# Please update as you see appropriate
|
19
19
|
describe 'AttachmentsApi' do
|
@@ -13,7 +13,7 @@ OpenAPI Generator version: 5.1.0-SNAPSHOT
|
|
13
13
|
require 'spec_helper'
|
14
14
|
require 'json'
|
15
15
|
|
16
|
-
# Unit tests for
|
16
|
+
# Unit tests for FireflyIIIClient::AvailableBudgetsApi
|
17
17
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
18
|
# Please update as you see appropriate
|
19
19
|
describe 'AvailableBudgetsApi' do
|
data/spec/api/bills_api_spec.rb
CHANGED
@@ -13,7 +13,7 @@ OpenAPI Generator version: 5.1.0-SNAPSHOT
|
|
13
13
|
require 'spec_helper'
|
14
14
|
require 'json'
|
15
15
|
|
16
|
-
# Unit tests for
|
16
|
+
# Unit tests for FireflyIIIClient::BillsApi
|
17
17
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
18
|
# Please update as you see appropriate
|
19
19
|
describe 'BillsApi' do
|
@@ -13,7 +13,7 @@ OpenAPI Generator version: 5.1.0-SNAPSHOT
|
|
13
13
|
require 'spec_helper'
|
14
14
|
require 'json'
|
15
15
|
|
16
|
-
# Unit tests for
|
16
|
+
# Unit tests for FireflyIIIClient::BudgetsApi
|
17
17
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
18
|
# Please update as you see appropriate
|
19
19
|
describe 'BudgetsApi' do
|
@@ -13,7 +13,7 @@ OpenAPI Generator version: 5.1.0-SNAPSHOT
|
|
13
13
|
require 'spec_helper'
|
14
14
|
require 'json'
|
15
15
|
|
16
|
-
# Unit tests for
|
16
|
+
# Unit tests for FireflyIIIClient::CategoriesApi
|
17
17
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
18
|
# Please update as you see appropriate
|
19
19
|
describe 'CategoriesApi' do
|
data/spec/api/charts_api_spec.rb
CHANGED
@@ -13,7 +13,7 @@ OpenAPI Generator version: 5.1.0-SNAPSHOT
|
|
13
13
|
require 'spec_helper'
|
14
14
|
require 'json'
|
15
15
|
|
16
|
-
# Unit tests for
|
16
|
+
# Unit tests for FireflyIIIClient::ChartsApi
|
17
17
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
18
|
# Please update as you see appropriate
|
19
19
|
describe 'ChartsApi' do
|
@@ -13,7 +13,7 @@ OpenAPI Generator version: 5.1.0-SNAPSHOT
|
|
13
13
|
require 'spec_helper'
|
14
14
|
require 'json'
|
15
15
|
|
16
|
-
# Unit tests for
|
16
|
+
# Unit tests for FireflyIIIClient::ConfigurationApi
|
17
17
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
18
|
# Please update as you see appropriate
|
19
19
|
describe 'ConfigurationApi' do
|
@@ -13,7 +13,7 @@ OpenAPI Generator version: 5.1.0-SNAPSHOT
|
|
13
13
|
require 'spec_helper'
|
14
14
|
require 'json'
|
15
15
|
|
16
|
-
# Unit tests for
|
16
|
+
# Unit tests for FireflyIIIClient::CurrenciesApi
|
17
17
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
18
|
# Please update as you see appropriate
|
19
19
|
describe 'CurrenciesApi' do
|
@@ -13,7 +13,7 @@ OpenAPI Generator version: 5.1.0-SNAPSHOT
|
|
13
13
|
require 'spec_helper'
|
14
14
|
require 'json'
|
15
15
|
|
16
|
-
# Unit tests for
|
16
|
+
# Unit tests for FireflyIIIClient::CurrencyExchangeRatesApi
|
17
17
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
18
|
# Please update as you see appropriate
|
19
19
|
describe 'CurrencyExchangeRatesApi' do
|
data/spec/api/import_api_spec.rb
CHANGED
@@ -13,7 +13,7 @@ OpenAPI Generator version: 5.1.0-SNAPSHOT
|
|
13
13
|
require 'spec_helper'
|
14
14
|
require 'json'
|
15
15
|
|
16
|
-
# Unit tests for
|
16
|
+
# Unit tests for FireflyIIIClient::ImportApi
|
17
17
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
18
|
# Please update as you see appropriate
|
19
19
|
describe 'ImportApi' do
|
data/spec/api/links_api_spec.rb
CHANGED
@@ -13,7 +13,7 @@ OpenAPI Generator version: 5.1.0-SNAPSHOT
|
|
13
13
|
require 'spec_helper'
|
14
14
|
require 'json'
|
15
15
|
|
16
|
-
# Unit tests for
|
16
|
+
# Unit tests for FireflyIIIClient::LinksApi
|
17
17
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
18
|
# Please update as you see appropriate
|
19
19
|
describe 'LinksApi' do
|
@@ -13,7 +13,7 @@ OpenAPI Generator version: 5.1.0-SNAPSHOT
|
|
13
13
|
require 'spec_helper'
|
14
14
|
require 'json'
|
15
15
|
|
16
|
-
# Unit tests for
|
16
|
+
# Unit tests for FireflyIIIClient::PiggyBanksApi
|
17
17
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
18
|
# Please update as you see appropriate
|
19
19
|
describe 'PiggyBanksApi' do
|
@@ -13,7 +13,7 @@ OpenAPI Generator version: 5.1.0-SNAPSHOT
|
|
13
13
|
require 'spec_helper'
|
14
14
|
require 'json'
|
15
15
|
|
16
|
-
# Unit tests for
|
16
|
+
# Unit tests for FireflyIIIClient::PreferencesApi
|
17
17
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
18
|
# Please update as you see appropriate
|
19
19
|
describe 'PreferencesApi' do
|
@@ -13,7 +13,7 @@ OpenAPI Generator version: 5.1.0-SNAPSHOT
|
|
13
13
|
require 'spec_helper'
|
14
14
|
require 'json'
|
15
15
|
|
16
|
-
# Unit tests for
|
16
|
+
# Unit tests for FireflyIIIClient::RecurrencesApi
|
17
17
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
18
|
# Please update as you see appropriate
|
19
19
|
describe 'RecurrencesApi' do
|
@@ -13,7 +13,7 @@ OpenAPI Generator version: 5.1.0-SNAPSHOT
|
|
13
13
|
require 'spec_helper'
|
14
14
|
require 'json'
|
15
15
|
|
16
|
-
# Unit tests for
|
16
|
+
# Unit tests for FireflyIIIClient::RuleGroupsApi
|
17
17
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
18
|
# Please update as you see appropriate
|
19
19
|
describe 'RuleGroupsApi' do
|
data/spec/api/rules_api_spec.rb
CHANGED
@@ -13,7 +13,7 @@ OpenAPI Generator version: 5.1.0-SNAPSHOT
|
|
13
13
|
require 'spec_helper'
|
14
14
|
require 'json'
|
15
15
|
|
16
|
-
# Unit tests for
|
16
|
+
# Unit tests for FireflyIIIClient::RulesApi
|
17
17
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
18
|
# Please update as you see appropriate
|
19
19
|
describe 'RulesApi' do
|
@@ -13,7 +13,7 @@ OpenAPI Generator version: 5.1.0-SNAPSHOT
|
|
13
13
|
require 'spec_helper'
|
14
14
|
require 'json'
|
15
15
|
|
16
|
-
# Unit tests for
|
16
|
+
# Unit tests for FireflyIIIClient::SummaryApi
|
17
17
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
18
|
# Please update as you see appropriate
|
19
19
|
describe 'SummaryApi' do
|
data/spec/api/tags_api_spec.rb
CHANGED
@@ -13,7 +13,7 @@ OpenAPI Generator version: 5.1.0-SNAPSHOT
|
|
13
13
|
require 'spec_helper'
|
14
14
|
require 'json'
|
15
15
|
|
16
|
-
# Unit tests for
|
16
|
+
# Unit tests for FireflyIIIClient::TagsApi
|
17
17
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
18
|
# Please update as you see appropriate
|
19
19
|
describe 'TagsApi' do
|
@@ -13,7 +13,7 @@ OpenAPI Generator version: 5.1.0-SNAPSHOT
|
|
13
13
|
require 'spec_helper'
|
14
14
|
require 'json'
|
15
15
|
|
16
|
-
# Unit tests for
|
16
|
+
# Unit tests for FireflyIIIClient::TransactionsApi
|
17
17
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
18
|
# Please update as you see appropriate
|
19
19
|
describe 'TransactionsApi' do
|
data/spec/api/users_api_spec.rb
CHANGED
@@ -13,7 +13,7 @@ OpenAPI Generator version: 5.1.0-SNAPSHOT
|
|
13
13
|
require 'spec_helper'
|
14
14
|
require 'json'
|
15
15
|
|
16
|
-
# Unit tests for
|
16
|
+
# Unit tests for FireflyIIIClient::UsersApi
|
17
17
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
18
|
# Please update as you see appropriate
|
19
19
|
describe 'UsersApi' do
|
data/spec/api_client_spec.rb
CHANGED
@@ -121,8 +121,8 @@ describe FireflyIIIClient::ApiClient do
|
|
121
121
|
describe "#object_to_hash" do
|
122
122
|
it 'ignores nils and includes empty arrays' do
|
123
123
|
# uncomment below to test object_to_hash for model
|
124
|
-
# api_client =
|
125
|
-
# _model =
|
124
|
+
# api_client = FireflyIIIClient::ApiClient.new
|
125
|
+
# _model = FireflyIIIClient::ModelName.new
|
126
126
|
# update the model attribute below
|
127
127
|
# _model.id = 1
|
128
128
|
# update the expected value (hash) below
|
@@ -14,7 +14,7 @@ require 'spec_helper'
|
|
14
14
|
require 'json'
|
15
15
|
require 'date'
|
16
16
|
|
17
|
-
# Unit tests for
|
17
|
+
# Unit tests for FireflyIIIClient::AccountArray
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
19
|
# Please update as you see appropriate
|
20
20
|
describe FireflyIIIClient::AccountArray do
|
@@ -14,7 +14,7 @@ require 'spec_helper'
|
|
14
14
|
require 'json'
|
15
15
|
require 'date'
|
16
16
|
|
17
|
-
# Unit tests for
|
17
|
+
# Unit tests for FireflyIIIClient::AccountRead
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
19
|
# Please update as you see appropriate
|
20
20
|
describe FireflyIIIClient::AccountRead do
|
@@ -14,7 +14,7 @@ require 'spec_helper'
|
|
14
14
|
require 'json'
|
15
15
|
require 'date'
|
16
16
|
|
17
|
-
# Unit tests for
|
17
|
+
# Unit tests for FireflyIIIClient::AccountSingle
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
19
|
# Please update as you see appropriate
|
20
20
|
describe FireflyIIIClient::AccountSingle do
|
data/spec/models/account_spec.rb
CHANGED
@@ -14,7 +14,7 @@ require 'spec_helper'
|
|
14
14
|
require 'json'
|
15
15
|
require 'date'
|
16
16
|
|
17
|
-
# Unit tests for
|
17
|
+
# Unit tests for FireflyIIIClient::Account
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
19
|
# Please update as you see appropriate
|
20
20
|
describe FireflyIIIClient::Account do
|
@@ -14,7 +14,7 @@ require 'spec_helper'
|
|
14
14
|
require 'json'
|
15
15
|
require 'date'
|
16
16
|
|
17
|
-
# Unit tests for
|
17
|
+
# Unit tests for FireflyIIIClient::AccountTypeFilter
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
19
|
# Please update as you see appropriate
|
20
20
|
describe FireflyIIIClient::AccountTypeFilter do
|
@@ -14,7 +14,7 @@ require 'spec_helper'
|
|
14
14
|
require 'json'
|
15
15
|
require 'date'
|
16
16
|
|
17
|
-
# Unit tests for
|
17
|
+
# Unit tests for FireflyIIIClient::AccountTypeProperty
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
19
|
# Please update as you see appropriate
|
20
20
|
describe FireflyIIIClient::AccountTypeProperty do
|
@@ -14,7 +14,7 @@ require 'spec_helper'
|
|
14
14
|
require 'json'
|
15
15
|
require 'date'
|
16
16
|
|
17
|
-
# Unit tests for
|
17
|
+
# Unit tests for FireflyIIIClient::AttachmentArray
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
19
|
# Please update as you see appropriate
|
20
20
|
describe FireflyIIIClient::AttachmentArray do
|
@@ -14,7 +14,7 @@ require 'spec_helper'
|
|
14
14
|
require 'json'
|
15
15
|
require 'date'
|
16
16
|
|
17
|
-
# Unit tests for
|
17
|
+
# Unit tests for FireflyIIIClient::AttachmentRead
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
19
|
# Please update as you see appropriate
|
20
20
|
describe FireflyIIIClient::AttachmentRead do
|
@@ -14,7 +14,7 @@ require 'spec_helper'
|
|
14
14
|
require 'json'
|
15
15
|
require 'date'
|
16
16
|
|
17
|
-
# Unit tests for
|
17
|
+
# Unit tests for FireflyIIIClient::AttachmentSingle
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
19
|
# Please update as you see appropriate
|
20
20
|
describe FireflyIIIClient::AttachmentSingle do
|
@@ -14,7 +14,7 @@ require 'spec_helper'
|
|
14
14
|
require 'json'
|
15
15
|
require 'date'
|
16
16
|
|
17
|
-
# Unit tests for
|
17
|
+
# Unit tests for FireflyIIIClient::Attachment
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
19
|
# Please update as you see appropriate
|
20
20
|
describe FireflyIIIClient::Attachment do
|