Class: Komonjo::Gateway::ChannelsGateway
- Inherits:
-
Object
- Object
- Komonjo::Gateway::ChannelsGateway
- Defined in:
- lib/komonjo/gateways/channels_gateway.rb
Overview
Merge history and users
Instance Method Summary collapse
- #channels ⇒ Object
-
#initialize(channels) ⇒ ChannelsGateway
constructor
A new instance of ChannelsGateway.
Constructor Details
#initialize(channels) ⇒ ChannelsGateway
Returns a new instance of ChannelsGateway.
6 7 8 |
# File 'lib/komonjo/gateways/channels_gateway.rb', line 6 def initialize(channels) @channels = channels.map { |e| Hash[e.symbolize_keys] } end |