Skip to content

Commit

Permalink
last merge
Browse files Browse the repository at this point in the history
  • Loading branch information
atruskie committed Dec 6, 2012
1 parent 02e1b7b commit 973e744
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
10 changes: 10 additions & 0 deletions app/serializers/audio_event_serializer.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@

class AudioEventSerializer < ActiveModel::Serializer
attributes :id, :audio_recording_id, :end_time_seconds, :high_frequency_hertz, :is_reference,
:low_frequency_hertz, :start_time_seconds

has_many :audio_event_tags


end

6 changes: 6 additions & 0 deletions app/serializers/audio_event_tag_serializer.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@

class AudioEventTagSerializer < ActiveModel::Serializer
attributes :audio_event_id, :tag_id

end

0 comments on commit 973e744

Please sign in to comment.