rom-rb / rom-http

Abstract HTTP adapter for ROM
https://rom-rb.org
MIT License
73 stars 18 forks source link

Use Options from rom-support #3

Closed AMHOL closed 9 years ago

AMHOL commented 9 years ago

Using Options from rom-support should make for a nicer interface when extending ROM::HTTP

module ROM
  module MyAdapter
    class Dataset < ROM::HTTP::Dataset
      option :my_option, type: ::Hash, default: {}, reader: true
    end
  end
end