Skip to content

Commit

Permalink
Update documentation to reflect current standards
Browse files Browse the repository at this point in the history
`:type` has been deprecated in favour of `:brand`, and `:verification_value` is an available parameter

Closes #2654
  • Loading branch information
cyclotron3k authored and bpollack committed Jul 3, 2018
1 parent dc22cda commit b1ae4ae
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions GettingStarted.md
Expand Up @@ -43,12 +43,13 @@ Instantiating such an object is simple:

```ruby
credit_card = ActiveMerchant::Billing::CreditCard.new(
:first_name => 'Steve',
:last_name => 'Smith',
:month => '9',
:year => '2014',
:type => 'visa',
:number => '4242424242424242')
:first_name => 'Steve',
:last_name => 'Smith',
:month => '9',
:year => '2022',
:brand => 'visa',
:number => '4242424242424242',
:verification_value => '424')
```

Most often, though, you'll be using user-supplied data. In a typical Rails controller:
Expand Down

1 comment on commit b1ae4ae

@Stellacska11
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok

Please sign in to comment.