Sha256: f348baef210387e30cd56d10c20a136d88a1dcd8850747fa61c6e25351706f4e

Contents?: true

Size: 272 Bytes

Versions: 63

Compression:

Stored size: 272 Bytes

Contents

class TestTrack::Remote::IdentifierType
  include TestTrack::RemoteModel

  collection_path '/api/v1/identifier_type'

  attributes :name

  validates :name, presence: true

  def fake_save_response_attributes
    nil # :no_content is the expected response type
  end
end

Version data entries

63 entries across 63 versions & 1 rubygems

Version Path
test_track_rails_client-4.0.0.alpha35 app/models/test_track/remote/identifier_type.rb
test_track_rails_client-4.0.0.alpha34 app/models/test_track/remote/identifier_type.rb
test_track_rails_client-4.0.0.alpha33 app/models/test_track/remote/identifier_type.rb
test_track_rails_client-4.0.0.alpha32 app/models/test_track/remote/identifier_type.rb
test_track_rails_client-4.0.0.alpha31 app/models/test_track/remote/identifier_type.rb
test_track_rails_client-4.0.0.alpha30 app/models/test_track/remote/identifier_type.rb
test_track_rails_client-4.0.0.alpha29 app/models/test_track/remote/identifier_type.rb
test_track_rails_client-4.0.0.alpha28 app/models/test_track/remote/identifier_type.rb
test_track_rails_client-4.0.0.alpha27 app/models/test_track/remote/identifier_type.rb
test_track_rails_client-4.0.0.alpha26 app/models/test_track/remote/identifier_type.rb
test_track_rails_client-4.0.0.alpha25 app/models/test_track/remote/identifier_type.rb
test_track_rails_client-4.0.0.alpha24 app/models/test_track/remote/identifier_type.rb
test_track_rails_client-4.0.0.alpha23 app/models/test_track/remote/identifier_type.rb
test_track_rails_client-4.0.0.alpha22 app/models/test_track/remote/identifier_type.rb
test_track_rails_client-4.0.0.alpha21 app/models/test_track/remote/identifier_type.rb
test_track_rails_client-4.0.0.alpha20 app/models/test_track/remote/identifier_type.rb
test_track_rails_client-4.0.0.alpha19 app/models/test_track/remote/identifier_type.rb
test_track_rails_client-4.0.0.alpha18 app/models/test_track/remote/identifier_type.rb
test_track_rails_client-4.0.0.alpha17 app/models/test_track/remote/identifier_type.rb
test_track_rails_client-4.0.0.alpha16 app/models/test_track/remote/identifier_type.rb