Sha256: 0358e817058bc6ca1020cb65c41f7b4ef08c3f27e24352dfcac4341d59570032

Contents?: true

Size: 464 Bytes

Versions: 3

Compression:

Stored size: 464 Bytes

Contents

module Restfulie
  module Common
    module Converter
      module Xml
        class Link
          def initialize(options = {})
            @options = options
          end
          def href
            @options["href"]
          end
          def rel
            @options["rel"]
          end
          def content_type
            @options["type"]
          end
          def type
            content_type
          end
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
restfulie-0.9.3 lib/restfulie/common/converter/xml/link.rb
restfulie-0.9.1 lib/restfulie/common/converter/xml/link.rb
restfulie-0.8.1 lib/restfulie/common/converter/xml/link.rb