class RsrGroup::OrderFFL
Attributes
order_identifier[R]
Public Class Methods
new(options = {})
click to toggle source
# File lib/rsr_group/order_ffl.rb, line 6 def initialize(options = {}) requires!(options, :order_identifier, :license_number, :name, :zip, :end_customer_name, :end_customer_phone) @options = options @order_identifier = options[:order_identifier] end
Public Instance Methods
to_single_line()
click to toggle source
# File lib/rsr_group/order_ffl.rb, line 13 def to_single_line [ order_identifier, LINE_TYPES.key(:ffl_dealer), @options[:license_number], @options[:name], @options[:zip], @options[:end_customer_name], @options[:end_customer_phone] ].join(";") end