We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
include
embed
embed_ids
Associations may be eagerly fetched as documented.
Current behavior for embed:
locations = client.shops(11).locations(embed: 'address') address = locations.first.address # => {"id"=>2, "street_number"=>"1", "street"=>"ΘΕΣΗ ΣΚΛΗΡΙ", "postcode"=>"19600", "city"=>"ΜΑΓΟΥΛΑ", # "region"=>"Αττικής", "country"=>"Ελλάδα"} address.class # => Hash
Expected behavior:
locations = client.shops(11).locations(embed: 'address') address = locations.first.address # => #<Skroutz::Address id: 2, street_number: "1", street: "ΘΕΣΗ ΣΚΛΗΡΙ", postcode: "19600", city: # "ΜΑΓΟΥΛΑ", region: "Αττικής", country: "Ελλάδα"> address.class # => Skroutz::Address
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Associations may be eagerly fetched as documented.
Current behavior for
embed
:Expected behavior:
The text was updated successfully, but these errors were encountered: