go_transit 0.6.0 → 0.7.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b427876f28482bccc9bc67073baaa1909bad6d3e5e72d9a04f2d17fdeda5ed6f
4
- data.tar.gz: fc02cfe20e250e6132debe7144bf0e024d2e4bd0e3abb03036f9e1024a2d47eb
3
+ metadata.gz: 98ee1b80052d6bb23fc218ea1ff8a49c006a12a2b872d91e93a307641bcef780
4
+ data.tar.gz: e02f5adbf916b559cff5789f6bea69533423dc4d8e4caeb393059762ca5c4418
5
5
  SHA512:
6
- metadata.gz: 07432de000d4d7acd545153d575c243581aae65f9f76851e106bd21951a901779162118453048c15bc51f792b60daffb1a02c02d648c8dd9f8fb18e4cd684aa9
7
- data.tar.gz: 5e0b9da7d99f54b9ac820a6939fdc8e81cd642eb65f6f2fd55c0d23e94fa3d8700e6c8502b7dc14d5e71fc1947ad18d21610b7a6ae5744c71beb66677932c74f
6
+ metadata.gz: b818cac20f3cba3a4e754b017c25888d7962c9d4e6ce0b89f8a53aca87d23e2356c8e0e15d1f2202481b16247e4696947600f6de7229ca14a5149c8d7c014e02
7
+ data.tar.gz: b5fabef81e31a9b962ee701ddf311810af8686edd25a08d5808bed3396f30742bd58c0fd4e51d97cd63f6b7d94ae497f31a4e17be496fb7c8494da41f3ddcf0e
@@ -1,5 +1,13 @@
1
1
  module GoTransit
2
2
  class Schedule::AllLines::Line < ApiResource
3
3
  attr_accessor :name, :code, :is_bus, :is_train, :variants
4
+
5
+ def train?
6
+ is_train == true
7
+ end
8
+
9
+ def bus?
10
+ is_bus == true
11
+ end
4
12
  end
5
- end
13
+ end
@@ -1,3 +1,3 @@
1
1
  module GoTransit
2
- VERSION = "0.6.0"
2
+ VERSION = "0.7.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: go_transit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Mazur