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.14.0 lib/gotransverse-tract-api/service/service_period.rb
gotransverse-tract-api-0.13.0 lib/gotransverse-tract-api/service/service_period.rb
gotransverse-tract-api-0.12.0 lib/gotransverse-tract-api/service/service_period.rb
gotransverse-tract-api-0.11.2 lib/gotransverse-tract-api/service/service_period.rb
gotransverse-tract-api-0.11.1 lib/gotransverse-tract-api/service/service_period.rb
gotransverse-tract-api-0.11.0 lib/gotransverse-tract-api/service/service_period.rb
gotransverse-tract-api-0.10.0 lib/gotransverse-tract-api/service/service_period.rb
gotransverse-tract-api-0.9.2 lib/gotransverse-tract-api/service/service_period.rb
gotransverse-tract-api-0.9.1 lib/gotransverse-tract-api/service/service_period.rb
gotransverse-tract-api-0.9.0 lib/gotransverse-tract-api/service/service_period.rb