Class: Fedora::Repository::StringResponse
- Inherits:
-
String
- Object
- String
- Fedora::Repository::StringResponse
- Defined in:
- lib/fedora/repository.rb
Instance Attribute Summary collapse
-
#content_type ⇒ Object
readonly
Returns the value of attribute content_type.
Instance Method Summary collapse
-
#initialize(s, content_type) ⇒ StringResponse
constructor
A new instance of StringResponse.
Constructor Details
#initialize(s, content_type) ⇒ StringResponse
Returns a new instance of StringResponse.
46 47 48 49 |
# File 'lib/fedora/repository.rb', line 46 def initialize(s, content_type) super(s) @content_type = content_type end |
Instance Attribute Details
#content_type ⇒ Object (readonly)
Returns the value of attribute content_type.
44 45 46 |
# File 'lib/fedora/repository.rb', line 44 def content_type @content_type end |