Sha256: a347818683e51b369a749f4d38baeb29c103d91a67989e180ec07630a2369998

Contents?: true

Size: 285 Bytes

Versions: 18

Compression:

Stored size: 285 Bytes

Contents

require_relative 'api/resource_collection'
require_relative 'body_part'

class ContextIO
  class BodyPartCollection
    include ContextIO::API::ResourceCollection

    self.resource_class = ContextIO::BodyPart
    self.association_name = :body_parts

    belongs_to :message
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
contextio-2.0.0 lib/contextio/body_part_collection.rb
contextio-1.8.1 lib/contextio/body_part_collection.rb
contextio-1.8.0 lib/contextio/body_part_collection.rb
contextio-1.7.2 lib/contextio/body_part_collection.rb
contextio-1.7.1 lib/contextio/body_part_collection.rb
contextio-1.7.0 lib/contextio/body_part_collection.rb
contextio-1.6.0 lib/contextio/body_part_collection.rb
contextio-1.5.0 lib/contextio/body_part_collection.rb
contextio-1.4.0 lib/contextio/body_part_collection.rb
contextio-1.3.0 lib/contextio/body_part_collection.rb
contextio-1.2.4 lib/contextio/body_part_collection.rb
contextio-1.2.3 lib/contextio/body_part_collection.rb
contextio-1.2.2 lib/contextio/body_part_collection.rb
contextio-1.2.1 lib/contextio/body_part_collection.rb
contextio-1.2.0 lib/contextio/body_part_collection.rb
contextio-1.1.0 lib/contextio/body_part_collection.rb
contextio-1.0.1 lib/contextio/body_part_collection.rb
contextio-1.0.0 lib/contextio/body_part_collection.rb