Class: SolidusGraphqlApi::Types::Variant
- Inherits:
-
Base::RelayNode
- Object
- GraphQL::Schema::Object
- Base::Object
- Base::RelayNode
- SolidusGraphqlApi::Types::Variant
- Defined in:
- lib/solidus_graphql_api/types/variant.rb
Instance Method Summary collapse
Methods inherited from Base::Object
Instance Method Details
#default_price ⇒ Object
22 23 24 |
# File 'lib/solidus_graphql_api/types/variant.rb', line 22 def default_price Queries::Variant::DefaultPriceQuery.new(variant: object).call end |
#images ⇒ Object
26 27 28 |
# File 'lib/solidus_graphql_api/types/variant.rb', line 26 def images Queries::Variant::ImagesQuery.new(variant: object).call end |
#option_values ⇒ Object
30 31 32 |
# File 'lib/solidus_graphql_api/types/variant.rb', line 30 def option_values Queries::Variant::OptionValuesQuery.new(variant: object).call end |
#prices ⇒ Object
34 35 36 |
# File 'lib/solidus_graphql_api/types/variant.rb', line 34 def prices Queries::Variant::PricesQuery.new(variant: object).call end |