Sha256: 411cc2130e6326377f6b0fcb96d66c809af7119373d48ae0cdc3a34db8e38e2b

Contents?: true

Size: 497 Bytes

Versions: 30

Compression:

Stored size: 497 Bytes

Contents

module GoTransverseTractApi

  module Service

    class ServicePeriod < Common::ServiceBase

      class << self

        #
        # @param {Boolean} closed
        # @param {Hash} options
        #
        def find_by_closed closed, options={}
          return nil unless closed.present?

          params ||= GoTransverseTractApi::ApiData.new.get_query_params({closed: closed}, options)
          GoTransverseTractApi.get_response_for(self, params)
        end

      end

    end

  end

end

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
gotransverse-tract-api-0.24.0 lib/gotransverse-tract-api/service/service_period.rb
gotransverse-tract-api-0.23.0 lib/gotransverse-tract-api/service/service_period.rb
gotransverse-tract-api-0.22.1 lib/gotransverse-tract-api/service/service_period.rb
gotransverse-tract-api-0.22.0 lib/gotransverse-tract-api/service/service_period.rb
gotransverse-tract-api-0.21.1 lib/gotransverse-tract-api/service/service_period.rb
gotransverse-tract-api-0.21.0 lib/gotransverse-tract-api/service/service_period.rb
gotransverse-tract-api-0.20.3 lib/gotransverse-tract-api/service/service_period.rb
gotransverse-tract-api-0.20.2 lib/gotransverse-tract-api/service/service_period.rb
gotransverse-tract-api-0.20.1 lib/gotransverse-tract-api/service/service_period.rb
gotransverse-tract-api-0.20.0 lib/gotransverse-tract-api/service/service_period.rb
gotransverse-tract-api-0.19.0 lib/gotransverse-tract-api/service/service_period.rb
gotransverse-tract-api-0.18.3 lib/gotransverse-tract-api/service/service_period.rb
gotransverse-tract-api-0.18.2 lib/gotransverse-tract-api/service/service_period.rb
gotransverse-tract-api-0.18.1 lib/gotransverse-tract-api/service/service_period.rb
gotransverse-tract-api-0.18.0 lib/gotransverse-tract-api/service/service_period.rb
gotransverse-tract-api-0.17.2 lib/gotransverse-tract-api/service/service_period.rb
gotransverse-tract-api-0.17.1 lib/gotransverse-tract-api/service/service_period.rb
gotransverse-tract-api-0.17.0 lib/gotransverse-tract-api/service/service_period.rb
gotransverse-tract-api-0.16.0 lib/gotransverse-tract-api/service/service_period.rb
gotransverse-tract-api-0.15.0 lib/gotransverse-tract-api/service/service_period.rb