Skip to content

feat(orders): add order resource - #370

Merged
toommz merged 1 commit into
lago-1699from
lago-1700
Aug 26, 2026
Merged

toommz merged 1 commit into
lago-1699from
lago-1700

Conversation

@toommz

@toommz toommz commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

Propagates the Orders API (lago-openapi#lago-1700) to the Ruby client.

Stacked on #369 — based on lago-1699, so the diff here is orders only. GitHub will retarget it as the stack merges.

Adds client.ordersget, get_all, execute(id, params).

execute takes an optional { order: { execution_mode } } body, the same wrapped shape as mark_as_signed in #369. It runs synchronously and is idempotent, so the response carries the resulting status and, on failure, the reasons in execution_record.errors.

bundle exec rspec (577 examples) and bundle exec rubocop are green.

🤖 Generated with Claude Code

@toommz toommz self-assigned this Aug 26, 2026
@toommz
toommz merged commit cf65948 into lago-1699 Aug 26, 2026
6 checks passed
@toommz
toommz deleted the lago-1700 branch August 26, 2026 08:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant