Class: SolidusGraphqlApi::Types::Image

Inherits:
Base::RelayNode show all
Defined in:
lib/solidus_graphql_api/types/image.rb

Instance Method Summary collapse

Methods inherited from Base::Object

remove_field

Instance Method Details

#large_urlObject



18
# File 'lib/solidus_graphql_api/types/image.rb', line 18

def large_url; object.url(:large) end

#mini_urlObject



20
# File 'lib/solidus_graphql_api/types/image.rb', line 20

def mini_url; object.url(:mini) end

#product_urlObject



22
# File 'lib/solidus_graphql_api/types/image.rb', line 22

def product_url; object.url(:product) end

#small_urlObject



24
# File 'lib/solidus_graphql_api/types/image.rb', line 24

def small_url; object.url(:small) end