Sha256: ec0e0abc7f3bdc9a539d9f136e2dbf2323341e005a6296257636026b01763c2f
Contents?: true
Size: 785 Bytes
Versions: 15
Compression:
Stored size: 785 Bytes
Contents
module Neuron module Schema class GeoTarget include Common SCHEMA = self.new def index @@index ||= set_of(object_type("geo_target", :id => id, :abbreviation => nonnull_string, :full_name => nonnull_string, :geo_type => choice_of(Neuron::Client::GeoTarget::TYPES), :name => nonnull_string, :netacuity_id => integer )) end def show @@show ||= object_type("geo_target", :id => id, :abbreviation => nonnull_string, :full_name => nonnull_string, :geo_type => choice_of(Neuron::Client::GeoTarget::TYPES), :name => nonnull_string, :netacuity_id => integer ) end end end end
Version data entries
15 entries across 15 versions & 1 rubygems