Class: SolidusGraphqlApi::Types::Address

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

Instance Method Summary collapse

Methods inherited from Base::Object

remove_field

Instance Method Details

#countryObject



26
27
28
# File 'lib/solidus_graphql_api/types/address.rb', line 26

def country
  Queries::Address::CountryQuery.new(address: object).call
end

#stateObject



22
23
24
# File 'lib/solidus_graphql_api/types/address.rb', line 22

def state
  Queries::Address::StateQuery.new(address: object).call
end