Sha256: 88cbead3082805376e4ca786e18aea119602d3458d39cff3855e615fe1019b14

Contents?: true

Size: 278 Bytes

Versions: 1

Compression:

Stored size: 278 Bytes

Contents

require 'quick_travel/init_from_hash'

module QuickTravel
  class RouteStop
    include QuickTravel::InitFromHash

    def stop
      Stop.new({ id: stop_id, name: name, code: code, address: address })
    end
  end

  class Stop
    include QuickTravel::InitFromHash
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
quicktravel_client-3.7.0 lib/quick_travel/route_stop.rb