Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make sure nil allowed for postal code address also #4

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

kilgore5
Copy link

@kilgore5 kilgore5 commented Mar 13, 2019

addition to #2 (v0.9.8)

addresses new issue:
https://github.com/kingandpartners/elietahari/issues/6754
https://github.com/kingandpartners/elietahari/issues/6722

irb(main):012:0> a = o.shipping_address
=> #<Sellect::Address id: 236240, first_name: "Leung", last_name: "Lana", address1: "7-9 Macdonnell Road", address2: "9th Floor, Hoover Court", city: "Hong Kong", zipcode: nil, phone: "94811388", state_name: "", country_id: 89, created_at: "2019-02-16 09:41:20", updated_at: "2019-02-16 09:42:14", user_id: 93983, primary_billing: false, primary_shipping: false, deleted_at: nil, locked: true, order_id: 47741644, primary_default: false, published: true, nickname: nil, tax_line: nil>
irb(main):013:0> ap a
Leung Lana: 7-9 Macdonnell Road {
                  :id => 236240,
          :first_name => "Leung",
           :last_name => "Lana",
            :address1 => "7-9 Macdonnell Road",
            :address2 => "9th Floor, Hoover Court",
                :city => "Hong Kong",
             :zipcode => nil,
               :phone => "94811388",
          :state_name => "",
          :country_id => 89,
          :created_at => Sat, 16 Feb 2019 04:41:20 EST -05:00,
          :updated_at => Sat, 16 Feb 2019 04:42:14 EST -05:00,
             :user_id => 93983,
     :primary_billing => false,
    :primary_shipping => false,
          :deleted_at => nil,
              :locked => true,
            :order_id => 47741644,
     :primary_default => false,
           :published => true,
            :nickname => nil,
            :tax_line => nil
}

@kilgore5 kilgore5 self-assigned this Mar 13, 2019
@kilgore5 kilgore5 removed their assignment May 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant