lib/apidragon/api.rb in apidragon-1.1.2 vs lib/apidragon/api.rb in apidragon-1.2.0
- old
+ new
@@ -11,10 +11,9 @@
class Api < ArgBucket
# Uses the configuration data in config.yaml to run a sequence of api calls.
# All variables are dumped into a variable bucket (@arg_bucket)
# so that they can be used as parameters for function calls.
- attr_accessor :macro
def initialize(macro_name)
@arg_bucket = {}
@config = load_config
import @config['vars']