Module: MrMurano

Defined in:
lib/MrMurano/http.rb,
lib/MrMurano/Config.rb,
lib/MrMurano/Account.rb,
lib/MrMurano/Product.rb,
lib/MrMurano/version.rb,
lib/MrMurano/Solution.rb,
lib/MrMurano/verbosing.rb,
lib/MrMurano/Solution-File.rb,
lib/MrMurano/commands/cors.rb,
lib/MrMurano/Solution-Users.rb,
lib/MrMurano/Solution-Endpoint.rb,
lib/MrMurano/Solution-Services.rb,
lib/MrMurano/commands/keystore.rb,
lib/MrMurano/commands/timeseries.rb,
lib/MrMurano/Solution-ServiceConfig.rb

Defined Under Namespace

Modules: Http, Verbose Classes: Account, Config, Cors, Endpoint, EventHandler, File, Keystore, Library, Passwords, Product, ProductBase, ProductContent, ProductModel, ProductSerialNumber, Role, SC_Device, ServiceBase, ServiceConfig, Solution, SolutionBase, Timeseries, User, UserBase

Constant Summary collapse

VERSION =
'1.5.0'.freeze

Class Method Summary collapse

Class Method Details

.checkSAME(opt) ⇒ Object

IF none of -same, then -same; else just the ones listed.



235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
# File 'lib/MrMurano/Config.rb', line 235

def self.checkSAME(opt)
  unless opt.files or opt.endpoints or opt.modules or
      opt.eventhandlers or opt.roles or opt.users then
    opt.files = true
    opt.endpoints = true
    opt.modules = true
    opt.eventhandlers = true
  end
  if opt.all then
    opt.files = true
    opt.endpoints = true
    opt.modules = true
    opt.eventhandlers = true
    opt.roles = true
    opt.users = true
  end
end