Class: PR::Pin::Adapter::Commands::Create
- Inherits:
-
ROM::HTTP::Commands::Create
- Object
- ROM::HTTP::Commands::Create
- PR::Pin::Adapter::Commands::Create
- Defined in:
- lib/pr/pin/adapter/commands.rb
Instance Method Summary collapse
Instance Method Details
#execute(*args, &block) ⇒ Object
9 10 11 |
# File 'lib/pr/pin/adapter/commands.rb', line 9 def execute(*args, &block) relation.new(super.map(&:to_h)).to_a end |