From f86f51b6e0ffb2d172499190cc442bccab8de54c Mon Sep 17 00:00:00 2001 From: MauricioMurga Date: Mon, 27 Jan 2014 22:22:17 -0600 Subject: [PATCH] add api_version= --- CHANGELOG | 5 ++++- lib/conekta.rb | 3 +++ lib/conekta/version.rb | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index e0de148..5d4e634 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -4,6 +4,9 @@ * Add payment method model. * Objects' properties are now accessible via methods of the same of name -=== 0.3.5 2013-01-17 +=== 0.3.6 2013-01-17 * Fix cert path. +=== 0.3.7 2013-01-27 + +* Add api_version= method. diff --git a/lib/conekta.rb b/lib/conekta.rb index b708bd3..a65f219 100644 --- a/lib/conekta.rb +++ b/lib/conekta.rb @@ -36,6 +36,9 @@ def self.api_base=(api_base) def self.api_version @api_version end + def self.api_version=(api_version) + @api_version = api_version + end def self.api_key @api_key end diff --git a/lib/conekta/version.rb b/lib/conekta/version.rb index 6f72b48..17e02ae 100644 --- a/lib/conekta/version.rb +++ b/lib/conekta/version.rb @@ -1,3 +1,3 @@ module Conekta - VERSION = '0.3.6' + VERSION = '0.3.7' end