Sha256: 2653275b61e0fbef70b0a2f13efa5f73458de94044a922980153c2c01ed6cd73
Contents?: true
Size: 443 Bytes
Versions: 2
Compression:
Stored size: 443 Bytes
Contents
module Mutations class BaseMutation < GraphQL::Schema::RelayClassicMutation argument_class Types::BaseArgument field_class Types::BaseField input_object_class Types::BaseInputObject object_class Types::BaseObject def production? ENV["RACK_ENV"] == "production" end def get_instance_id `curl http://metadata.google.internal/computeMetadata/v1/instance/id -H Metadata-Flavor:Google` end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
souls-0.24.2 | apps/worker/app/graphql/mutations/base_mutation.rb |
souls-0.24.1 | apps/worker/app/graphql/mutations/base_mutation.rb |