Class: Id3Taginator::Frames::Private::Entities::PrivateFrame

Inherits:
Object
  • Object
show all
Includes:
Extensions::Comparable
Defined in:
lib/id3taginator/frames/private/entities/private_frame.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Extensions::Comparable

#==, #compare

Constructor Details

#initialize(owner_id, private_data) ⇒ PrivateFrame

constructor

Parameters:

  • owner_id (String)

    the owner id

  • private_data (String)

    the private data bytes represented as a String (str.bytes)



16
17
18
19
# File 'lib/id3taginator/frames/private/entities/private_frame.rb', line 16

def initialize(owner_id, private_data)
  @owner_id = owner_id
  @private_data = private_data
end

Instance Attribute Details

#owner_idObject

Returns the value of attribute owner_id.



10
11
12
# File 'lib/id3taginator/frames/private/entities/private_frame.rb', line 10

def owner_id
  @owner_id
end

#private_dataObject

Returns the value of attribute private_data.



10
11
12
# File 'lib/id3taginator/frames/private/entities/private_frame.rb', line 10

def private_data
  @private_data
end