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.14.0 lib/gotransverse-tract-api/order/agreement_configuration.rb
gotransverse-tract-api-0.13.0 lib/gotransverse-tract-api/order/agreement_configuration.rb
gotransverse-tract-api-0.12.0 lib/gotransverse-tract-api/order/agreement_configuration.rb
gotransverse-tract-api-0.11.2 lib/gotransverse-tract-api/order/agreement_configuration.rb
gotransverse-tract-api-0.11.1 lib/gotransverse-tract-api/order/agreement_configuration.rb
gotransverse-tract-api-0.11.0 lib/gotransverse-tract-api/order/agreement_configuration.rb
gotransverse-tract-api-0.10.0 lib/gotransverse-tract-api/order/agreement_configuration.rb
gotransverse-tract-api-0.9.2 lib/gotransverse-tract-api/order/agreement_configuration.rb
gotransverse-tract-api-0.9.1 lib/gotransverse-tract-api/order/agreement_configuration.rb
gotransverse-tract-api-0.9.0 lib/gotransverse-tract-api/order/agreement_configuration.rb
gotransverse-tract-api-0.8.1 lib/gotransverse-tract-api/order/agreement_configuration.rb
gotransverse-tract-api-0.8.0 lib/gotransverse-tract-api/order/agreement_configuration.rb
gotransverse-tract-api-0.7.5 lib/gotransverse-tract-api/order/agreement_configuration.rb
gotransverse-tract-api-0.7.4 lib/gotransverse-tract-api/order/agreement_configuration.rb
gotransverse-tract-api-0.7.3 lib/gotransverse-tract-api/order/agreement_configuration.rb
gotransverse-tract-api-0.7.2 lib/gotransverse-tract-api/order/agreement_configuration.rb
gotransverse-tract-api-0.7.1 lib/gotransverse-tract-api/order/agreement_configuration.rb
gotransverse-tract-api-0.7.0 lib/gotransverse-tract-api/order/agreement_configuration.rb
gotransverse-tract-api-0.6.7 lib/gotransverse-tract-api/order/agreement_configuration.rb
gotransverse-tract-api-0.6.6 lib/gotransverse-tract-api/order/agreement_configuration.rb