Update Endpoint Call syntax#176
Merged
fern-support merged 1 commit intofern-api/square-ruby-sdk-v44from Aug 20, 2025
Merged
Conversation
Barry-Zou
pushed a commit
that referenced
this pull request
Aug 21, 2025
* do not merge: Square Ruby SDK * Current gen status + initial integration tests (#159) * ignore claude * intiial test helpers file * strongly type obj creation in helpers.rb * add more test files * bulk convert tests with cursor * use typeful .new() factory methods * regenerate with ruby v2 * restore gemfile and rakefile to main * fix relative imports * square.rb file * find/replace 'module square' --> 'module Square' * replace square::Internal --> Square::Internal * replace ' Internal::' --> ' Square::Internal::' * simplify square.rb * add end statements to else blocks * fix incorrect end statements in request types * change square::internal::json::serializable from class to module * update requirements in helpers.rb * fix test helpers imports * fix missing end after else in clients * ensure request and response types extend model * more requests extend model * remove bad extensions * fix bad class end formatting * fix more bad class end formatting * fix enum files * migrate extends syntax * update type references to error enums * temp commit lib/squre.rb * change tab size to 2 * fix internal lowercase square * fix empty class end syntax * regen * fix else ends * update type mapping * revert type mapping change * manually update gemfile, rakefile, and rubocop file from demo sdk * remove generated code * regen sdk * remove square.rb file * update module file * remove ghost types * fix enum include to extend * disable tests --------- Co-authored-by: jsklan <jsklan.development@gmail.com> * Pull in base test infra files from demo (#160) * pull in test helper infra from demo * pull in base catalog tests --------- Co-authored-by: jsklan <jsklan.development@gmail.com> * manually fix circular references with forward declarations (#161) Co-authored-by: jsklan <jsklan.development@gmail.com> * Updating Rakefile * 🌿 Fern Regeneration -- August 18, 2025 (#164) * update fernignore (#163) * update fernignore * remove ignores --------- Co-authored-by: jsklan <jsklan.development@gmail.com> * SDK regeneration --------- Co-authored-by: Fern Support <126544928+fern-support@users.noreply.github.com> Co-authored-by: jsklan <jsklan.development@gmail.com> Co-authored-by: fern-api <115122769+fern-api[bot]@users.noreply.github.com> * Partially enable tests (#166) * tmp * add ci test * update rakefile * update token name options --------- Co-authored-by: jsklan <jsklan.development@gmail.com> * SDK regeneration * SDK regeneration * re-add .rubocop.yml * SDK regeneration * Adding back rubocop.yml * Minor updates to gemspec for version and gemfile for matching dev and runtime libraries * Adding Rubocop back to Rakefile for linting * Fixing broken part of rubocop * Adding CI for linting, testing and security checks * SDK regeneration * Enable catalog integration tests (#169) * enable catalog test * modify test setup * messy status * current state * fix typo in multipart request * simplify state * progress, some nested values converting * progress, some nested values converting * log in coerce * restore request * request succeeds * remove logging from client and raw client * test passes, response parsed * update catalog client * add verbose mode handling in integration test helper --------- Co-authored-by: jsklan <jsklan.development@gmail.com> * Adding back CI file and adding CI file to .fernignore to stop accidental deletion * Restructure Integration Tests (#170) * restructure directory * migrate structure * migrate inventory test * fix client batch_upsert url * skip all tests * update verbose request logs * simplify endpoint calls * rake test passes, 63 tests skipped * update inventory client and test --------- Co-authored-by: jsklan <jsklan.development@gmail.com> * Manually Implement wrapped request example (#173) * interim commit * utils * tests passing * polish --------- Co-authored-by: jsklan <jsklan.development@gmail.com> * Integration Test Polishing (#175) * cash, catalog, customers groups * cleanup --------- Co-authored-by: jsklan <jsklan.development@gmail.com> * update endpoint call syntax (#176) Co-authored-by: jsklan <jsklan.development@gmail.com> * SDK regeneration * fix cash drawers * SDK regeneration * SDK regeneration * SDK regeneration * SDK regeneration * feat: enabling more integration tests (#177) (#178) * README updates with a license change to match the repo in gemspec file (#172) * README updates with a license change to match the repoin gemspec file * Removing duplicate block code start --------- Co-authored-by: jsklan <jsklan.development@gmail.com> Co-authored-by: Chris Mallinson <chris.mallinson@buildwithfern.com> Co-authored-by: fern-api[bot] <115122769+fern-api[bot]@users.noreply.github.com>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.