Sha256: f4f48e261eae295f1709d820ed9325eceefd0004b1108b53e89b0cff84163622

Contents?: true

Size: 719 Bytes

Versions: 49

Compression:

Stored size: 719 Bytes

Contents

module GoTransverseTractApi

  module Order

    class AgreementConfiguration

      def self.get_agreement_conf agreement_conf
        {
          nextAgreement: agreement_conf[:next_agreement],
          nextServiceProduct: agreement_conf[:next_service_product],
          nextServiceProductPrice: agreement_conf[:next_service_product_price],
          endDate: agreement_conf[:end_date],
          endAction: agreement_conf[:end_action],
          nextEndAction: agreement_conf[:next_end_action],
          preserveServicePrice: agreement_conf[:preserve_service_price],
          nextPreserveServicePrice: agreement_conf[:next_preserve_service_price]
        }.delete_if{|k,v| v.nil?}
      end

    end

  end

end

Version data entries

49 entries across 49 versions & 1 rubygems

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